Å×½ºÆ® :: ¹è¼Û

Test :: Resub´Â Å×½ºÆ®¸¦ À§ÇØ ¾îÈÖ ÀûÀ¸·Î ¹üÀ§°¡ ÁöÁ¤µÈ ¼­ºê ·çƾ ±³Ã¼ÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

Å×½ºÆ® :: ¹è¼Û ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • AirWave Wireless
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~airwave/Test-Resub-1.02/lib/Test/Resub.pm

Å×½ºÆ® :: ¹è¼Û ű×


Å×½ºÆ® :: ¹è¼Û ¼³¸í

Test :: Resub´Â Å×½ºÆ®¸¦À§ÇÑ ¾îÈÖ ÀûÀ¸·Î ¹üÀ§°¡ ÁöÁ¤µÈ ¼­ºê ·çƾ ±³Ã¼ÀÔ´Ï´Ù. Test :: Resub´Â Å×½ºÆÃÀ»À§ÇÑ ¾îÈÖ ÀûÀ¸·Î ¹üÀ§°¡ ÁöÁ¤µÈ ¼­ºê ·çƾ ´ëüǰÀÔ´Ï´Ù. ½Ä ³ëÇÁ #! / usr / bin / perl »ç¿ë Å×½ºÆ® :: ´õ ¸¹Àº Å×½ºÆ® => 4; Å×½ºÆ® :: Àç ¹æ¼Û (RESUB); {ÆÐÅ°Áö ¾îµò°¡¿¡; ÇÏÀ§ Ç¥½Ã {my ($ class, $ message) = @_; "$ class, $ message"¸¦ ¹ÝȯÇÕ´Ï´Ù. }} # Á¤½ÅÀº (¾îµò°¡¿¡¼­ -> ¹Ù´Ù¸¦ ³Ñ¾î¼­ '),'¾îµò°¡¿¡¼­ ¹Ù´Ù¸¦ ³Ñ¾î¼­ '¶ó´Â °ÍÀÔ´Ï´Ù.); # {My $ rs = sub 'sub {hi'}, copture => 1;; (¾îµò°¡ -> ¼î (¹«Áö°³ À§·Î '),'HI '); is_deeply ($ rs-> method_args, ]); } # ¹üÀ§°¡ ³¡³³´Ï´Ù. Rovub´Â »ç¶óÁö°í, ¿ø·¡ ÄÚµå ¸®ÅÏÀº (¾îµò°¡ -> ¼î ( '³ª¸¦ ±â´Ù¸®°í'), '¾îµò°¡¿¡ ±â´Ù¸®°íÀÖ´Ù');ÀÌ ¸ðµâÀ» »ç¿ëÇÏ¸é ¼­ºê ·çƾ / ¸Þ¼Òµå¸¦ ÀÓÀÇÀÇ ÄÚµå·Î ÀϽÃÀûÀ¸·Î ´ëü ÇÒ ¼ö ÀÖ½À´Ï´Ù. ³ªÁß¿¡, ¸Å¹ø Àμö°¡ ¹«¾ùÀÎÁö ¾Ë ¼ö ÀÖ½À´Ï´Ù. ¼­ºê ·çƾ / ¸Þ¼­µå°¡ È£ÃâµÇ¾î¾ßÇϸç È£ÃâµÇÁö ¾Ê¾Æ¾ßÇÏ¸ç ¼±ÅÃÀûÀ¸·Î È£Ãâ µÉ ¼ö ÀÖÀ½À» ÁöÁ¤ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Å×½ºÆ® :: ¹è¼Û °ü·Ã ¼ÒÇÁÆ®¿þ¾î

¿É¼Ç .pm.

options.pmÀº t.p.usage.options ¸ðµâÀÇ ±¸¹®À» ¸ð¹æÇÏ´Â ¸í·É ÁÙ ¿É¼Ç ±¸¹® ºÐ¼® Perl ¸ðµâÀÔ´Ï´Ù. ...

208

´Ù¿î·Îµå

¼öÇÐ :: ¼ýÀÚ

¼öÇÐ :: ¼ýÀÚ´Â ¼ýÀÚ ÀÌ·ÐÀÇ °³³äÀÇ ¼öÇÐÀû Á¢±Ù¹ýÀ»À§ÇÑ ¹æ¹ýÀ» Æ÷ÇÔÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...

208

´Ù¿î·Îµå