»ó¼ö :: ·±Å¸ÀÓ

»ó¼ö :: ·±Å¸ÀÓÀº ·±Å¸ÀÓ¿¡ »ó¼ö¸¦ »ý¼ºÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

»ó¼ö :: ·±Å¸ÀÓ ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Anders Nor Berle
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~berle/Constant-Runtime-0.0099_01/lib/Constant/Runtime.pm

»ó¼ö :: ·±Å¸ÀÓ Å±×


»ó¼ö :: ·±Å¸ÀÓ ¼³¸í

Constant :: RuntimeÀº ·±Å¸ÀÓ¿¡ »ó¼ö¸¦ »ý¼ºÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Constant :: RuntimeÀº ·±Å¸ÀÓ¿¡ »ó¼ö¸¦ »ý¼ºÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Synopsis »ç¿ë »ó¼ö :: ·±Å¸ÀÓ; »ó¼ö :: ·±Å¸ÀÓ -> make ( "foo", 42); foo ()¸¦ ÀμâÇϽʽÿÀ. »ó¼ö :: ·±Å¸ÀÓ -> make ( "foo :: bar", 42); ÇÁ¸°Æ® foo :: bar (); ³» $ constant = constant :: runtime-> make_anon (42); Print Eval "$ »ó¼ö";ÀÌ ¸ðµâÀº MooSex :: ¹æ¹ý¿¡ ´ëÇÑ ·±Å¸ÀÓ ÄÚµå Æò°¡¸¦ ÃÖÀûÈ­ÇϱâÀ§ÇÑ »ó¼ö¸¦ »ý¼ºÇÏ´Â µµ±¸·Î ž½À´Ï´Ù. ´ç½ÅÀÌ »ó»óÇÒ ¼öÀÖ´Â ¸ðµç °ÍÀ» À§ÇØ ±×°ÍÀ» ÀÚÀ¯·Ó°Ô »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù .thodsmake ($ constant_name, $ value) constant :: runtime-> make ( "foo", 42); ÀÌ°ÍÀº "foo"¶ó´Â À̸§À¸·Î È£Ãâ Ŭ·¡½º¿¡¼­ ÀÏÁ¤ÇÏ°Ô ¸¸µé °ÍÀÔ´Ï´Ù. ...¿¡ constant :: runtime-> make ( "someclass :: constant", 42) ÀÌ°ÍÀº ÁöÁ¤µÈ Ŭ·¡½º¿¡¼­ "foo".make_anon ($ value) my $ anonymous_constant = constant :: runtime-> make_anon ( 42); À͸íÀÇ »ó¼ö¸¦ »ý¼ºÇÏ´Â µ¥ »ç¿ëµË´Ï´Ù. ±â¼úÀûÀ¸·Î, »ó¼ö´Â À̸§À» °¡Áö¸ç, ´ç½ÅÀÌ ±×°ÍÀÌ ¹«¾ùÀÎÁö, ´ç½ÅÀÌ ±×°ÍÀ» »ç¿ëÇÒ ¼öÀÖ´Â °Í¸¸ ½Å°æ ¾²Áö ¾ÊÀ» °ÍÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


»ó¼ö :: ·±Å¸ÀÓ °ü·Ã ¼ÒÇÁÆ®¿þ¾î

WebFetch.

WebFetch´Â À¥¿¡¼­ Á¤º¸¸¦ ´Ù¿î·ÎµåÇÏ°í ÀúÀåÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...

160

´Ù¿î·Îµå