Scope :: Upper.

»ó´Ü ¹üÀ§¿¡¼­ ÀÛ¿ëÇÕ´Ï´Ù
Áö±Ý ´Ù¿î·Îµå

Scope :: Upper. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Vincent Pit
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~vpit/

Scope :: Upper. ű×


Scope :: Upper. ¼³¸í

»ó´Ü ¹üÀ§¿¡¼­ ÇൿÇϽʽÿÀ ½Ã³ñ½Ã½º ÆÐÅ°Áö x; Scope :: Upper QW / Reap Localize Localize_Elem Localize_Delete : ´Ü¾î /; ÇÏÀ§ desc {shift -> {desc}} sub set_tag {my ($ desc) = @_; # $ x¸¦ óÀ½·Î ÇöÁöÈ­ÇÏ¿© ¸¶Áö¸·À¸·Î Æı«µÇµµ·Ï '$ x'=> Ãູ ({desc => $ desc}, __package__) => up; # ÇÑ ¹øÀÇ ¹üÀ§°¡ Reap ÇÏÀ§ {My $ pkg = ¹ß½ÅÀÚ; MY $ X = DO {¾ö°ÝÇÏÁö ¾ÊÀ½ "; $ {$ pkg. ':: x'}}; # ½ºÄÚÇÁ Àμâ $ X-> DESC¿¡¼­ $ X¸¦ ¾òÀ¸½Ê½Ã¿À. ": ¿Ï·á ";} => ¹üÀ§ 1; ¿©±â¼­ localize_elem '% sig', '__warn__'=> sub {my $ pkg = È£ÃâÀÚ; my $ x = do {$ {$ pkg '; :: x '}}; # $ X¸¦ ¹üÀ§ ÄÚ¾î :: °æ°í ($ x -> desc.': '. °¡ÀÔ (', @_));} => È£ÃâÀÚ 0; # UP # Localize_Delete '@argv'@argv '@argv'»èÁ¦ ¿©±â¿¡¼­ »èÁ¦ÇϽʽÿÀ. ¿©±â¿¡¼­¿Í µ¿ÀÏÇÕ´Ï´Ù.} ÆÐÅ°Áö y; {x :: set_tag ( 'pie'); # $ x´Â Áö±Ý x °´Ã¼ÀÔ´Ï´Ù. ±×¸®°í @argv´Â ÇϳªÀÇ ¿ä¼Ò°¡ ´ú °æ°í µÈ '¹«¾ù', # °æ°í "ÆÄÀÌ : at ..."... "...} #"pie : done "Àº ÀÎ¼â µÈ ÆÐÅ°Áö zÀÔ´Ï´Ù; ¹üÀ§¸¦ »ç¿ëÇϽʽÿÀ :: ¾îÆÛ qw / unment wank_at : ´Ü¾î »ç¿ë /; sub try () {my @Result = shift -> (); my $ cx = sub up sub; unwind + (wank_at ($ cx) @Result : scalar @Result) => $ cx;} ... ÇÏÀ§ zap {try {return @things return to try () º¹±Í () #¿¡ µµ´ÞÇÏÁö ¾ÊÀ½} # @ what = zap (); # @what sectory @thingsscope :: ¾îÆÛ´Â perl ¸ðµâÀÔ´Ï´Ù. ÀÌ´Â ÄÁÆ®·Ñ È帧ÀÌ »óÀ§ ¹üÀ§·Î µ¹¾Æ°¥ ¶§ ¼öÇà ÇÒ ¼öÀÖ´Â ·±Å¸ÀÓ¿¡ ÀÛ¾÷À» ¿¬±â ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÇöÀç, ´ç½ÅÀº ´ÙÀ½À» ÇÒ ¼ö ÀÖ½À´Ï´Ù : * UPPE ÈÄÅ© r ¹üÀ§´Â "reap"·Î ³¡³³´Ï´Ù. * º¯¼ö, ¹è¿­ / Çؽà °ª ¶Ç´Â »óÀ§ ÄÁÅؽºÆ®¿¡¼­ ¿ä¼ÒÀÇ ¹è¿­ / Çؽà °ª ¶Ç´Â »èÁ¦¸¦ °¢°¢ "·ÎÄà ȭ", "localize_elem"¹× "localize_delete"; * °ªÀ» "Ǫ½ÃÇÏÁö ¾Ê°Ô"·Î Áï½Ã ¹ÝȯÇÏ°í "wans_at"·Î ¾î¶² ÄÁÅؽºÆ®¸¦ »ç¿ëÇÏ°í ÀÖ´ÂÁö ¾Ë°í ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Scope :: Upper. °ü·Ã ¼ÒÇÁÆ®¿þ¾î