CPANPlus :: Dist :: Base.CPANPLUS :: DIST :: BASE´Â »ç¿ëÀÚ Á¤ÀÇ ¹èÆ÷ Ŭ·¡½ºÀÇ ±âº» PERL Ŭ·¡½ºÀÔ´Ï´Ù. | |
Áö±Ý ´Ù¿î·Îµå |
CPANPlus :: Dist :: Base. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- Perl Artistic License
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Jos Boumans
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~kane/
CPANPlus :: Dist :: Base. ű×
CPANPlus :: Dist :: Base. ¼³¸í
CPANPlus :: Dist :: Base´Â »ç¿ëÀÚ Á¤ÀÇ ¹èÆ÷ Ŭ·¡½ºÀÇ ±âº» Perl Ŭ·¡½ºÀÔ´Ï´Ù. cpanPlus :: Dist :: Base´Â »ç¿ëÀÚ Á¤ÀÇ ¹èÆ÷ Ŭ·¡½ºÀÇ ±âº» Perl Ŭ·¡½ºÀÔ´Ï´Ù. ½Ä ³ëÇÁ ÆÐÅ°Áö CPANPLUS :: DIST :: MY_IMPLEMENTATION BASE 'CPANPLUS :: DIST :: Base'; ÇÏÀ§ Áغñ {³» $ dist = shift; ### 'Ç¥ÁØ'ÀÏÀ» $ dist-> super :: prepare (@_) ¶Ç´Â ¹ÝȯÇÕ´Ï´Ù. ### my_implementation ƯÁ¤ ÀÏÀ» ... ### »óŸ¦ ¼³Á¤ÇÏ´Â °ÍÀ» ÀØÁö ¸¶½Ê½Ã¿À! $ dist-> »óÅ -> Áغñ ($ ¼º°ø? 1 : 0)¸¦ ¹ÝȯÇÕ´Ï´Ù. } methods $ bool = $ class-> format_availableThis ¸Þ¼Òµå´Â ¼öÆÛ Å¬·¡½º¸¦ ÅëÇØ ¸ðµâÀ» ¼³Ä¡ÇÒ ¸ðµâÀ» ¿äûÇÒ ¶§ È£ÃâµË´Ï´Ù. ÀÌ·¸°ÔÇϸé ÇÊ¿äÇÑ ¸ðµç ¿ä±¸ »çÇ× ÀÌÀÌ ¹èÆ÷ȸ¦ ºôµåÇÏ°í ¼³Ä¡ÇÒ ¼ö ÀÖ´ÂÁö È®ÀÎÇÒ ¼öÀÖ´Â ±âȸ¸¦ Á¦°øÇÕ´Ï´Ù. ¿¹¸¦ µé¾î ¸í·É ÁÙ ÇÁ·Î±×·¥ÀÌ ÇÊ¿äÇϰųª ÀÛ¾÷À» ¼öÇàÇϱâ À§ÇØ ¼³Ä¡µÈ ƯÁ¤ Perl ¸ðµâÀÌ ÇÊ¿äÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌÁ¦´Â CHANPLUS :: DIST :: Base ±¸ÇöÀÌ Ç×»ó true¸¦ ¹ÝȯÇÏ´Â °æ¿ì, ¿äûÀÌ ÁøÇàµÉ ¼ö ÀÖ°í false¸¦ ÁøÇàÇÒ ¼öÀÖ´Â °æ¿ì true¸¦ È®ÀÎÇÏ´Â ½Ã°£ÀÔ´Ï´Ù. Dist Object´Â Áغñ ¹æ¹ýÀÌ È£ÃâµÇ±â Àü¿¡ ¼³Á¤µË´Ï´Ù. ÀÌ°ÍÀº Ŭ·¡½º¿Í ÇÔ²² »ç¿ëÇÒ ¼ö ÀÖµµ·Ï °´Ã¼¸¦ ¼³Á¤ÇÏ´Â ½Ã°£ÀÔ´Ï´Ù. ¿¹¸¦ µé¾î, ´ÙÀ½°ú °°ÀÌ ÇÒ ¼öÀÖ´Â »óÅ °³Ã¼¿¡ Ãß°¡ Á¢±ÙÀÚ¸¦ Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. $ dist-> »óÅ -> mk_accessors (QW ); status °´Ã¼´Â object :: concector Ŭ·¡½ºÀÇ ÀνºÅϽº·Î ±¸ÇöµË´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ¹®¼¸¦ ÂüÁ¶ÇϽʽÿÀ. ÃʱâÈ°¡ successulÀ̸é true¸¦ ÂüÁ¶ÇϽʽÿÀ. cpanplus :: dist :: ±âº» ±¸ÇöÀÌ ¿ÀºêÁ§Æ®¸¦ º¯°æÇÏÁö ¾Ê°í Ç×»ó true¸¦ ¹ÝȯÇÏÁö ¾Ê½À´Ï´Ù. $ bool = $ dist-> freeethis ¹èÆ÷ Áغñ ´Ü°è¸¦ ½ÇÇàÇÕ´Ï´Ù. ÀÌ ´Ü°è´Â ÀÛ¼º ´Ü°è°¡ ½ÇÁ¦ ¹èÆ÷ (ÆÄÀÏ)¸¦ ¸¸µé ¼ö ÀÖµµ·Ï ȯ°æÀ» ¼³Á¤ÇÏ´Â °ÍÀ» ÀǹÌÇÕ´Ï´Ù. Ç¥ÁØ extutils :: MakeMaker ¹èÆ÷¿¡¼ÀÇ Áغñ È£ÃâÀº ¿¹¸¦ µé¾î ¹èÆ÷¿¡ ´ëÇÑ Á¾¼Ó¼ºÀ» ã±â À§ÇØ Perl makefile.plÀ» ½ÇÇàÇÕ´Ï´Ù. µ¥ºñ¾È À¯ÅëÀ» À§ÇØ ÀÌ´Â DPKG - * µµ±¸¿¡ ÇÊ¿äÇÑ ¸ðµç ¸ÞŸ ÆÄÀÏÀ» ÀÛ¼ºÇÏ´Â °÷ÀÔ´Ï´Ù. CPANPLUS :: DIST :: ±âº» ±¸ÇöÀº ±âº» ¹èÆ÷ Ŭ·¡½º (ÀϹÝÀûÀ¸·Î CPANPLUS :: DIST :: MM ¶Ç´Â CPANPLUS ::)¸¦ È£ÃâÇϱ⠸¸ÇϸéµË´Ï´Ù. Dist :: Build) .sets $ dist-> status->ÀÌ ÇÔ¼öÀÇ ¹Ýȯ °ªÀ» ÁغñÇß½À´Ï´Ù. ÀÌ ¸Þ¼µå¸¦ ÀçÁ¤ÀÇÇϸéÀÌ °ªÀ» ¼³Á¤ÇؾßÇÕ´Ï´Ù. $ bool = $ dist-> createThis´Â ¹èÆ÷ÀÇ »ý¼º ´Ü°è¸¦ ½ÇÇàÇÕ´Ï´Ù. ÀÌ ´Ü°è´Â »ç¿ëÀÚ È¯°æÀ» ¼³Á¤ÇÏ¿© ÀÛ¼º ´Ü°è°¡ ½ÇÁ¦ ¹èÆ÷ (ÆÄÀÏ)¸¦ ¸¸µé ¼ö ÀÖµµ·Ï ȯ°æÀ» ¼³Á¤ÇÏ´Â °ÍÀÔ´Ï´Ù. Ç¥ÁØ Extutils :: MakeMaker ¹èÆ÷¿¡¼ÀÇ »ý¼ºÀº ½ÇÇàÀ» ½ÇÇàÇÏ°í ºÐ¹è¸¦ ºôµåÇÏ°í Å×½ºÆ®ÇÏ´Â Å×½ºÆ®¸¦ ¼öÇàÇÕ´Ï´Ù. µ¥ºñ¾È ¹èÆ÷ÀÇ °æ¿ì, ÀÌ°ÍÀº DPKG¸¦ »ç¿ëÇÏ¿© ½ÇÁ¦ .deb ÆÄÀÏÀ» ¸¸µå´Â °÷ÀÔ´Ï´Ù. cpanplus :: dist :: ±âº» ±¸ÇöÀº ±âº» ¹èÆ÷ Ŭ·¡½º¸¦ È£ÃâÇϱ⠸¸ÇϸéµË´Ï´Ù (ÀϹÝÀûÀ¸·Î cpanplus :: dist :: mm ¶Ç´Â cpanplus :: dist :: ºôµå) .sets $ dist-> status-> dist°¡ »ý¼º µÈ ¹èÆ÷ À§Ä¡¿¡ ÀÖ½À´Ï´Ù. ÀÌ ¸Þ¼µå¸¦ ÀçÁ¤ÀÇÇϸéÀÌ °ªÀ» ¼³Á¤ÇÕ´Ï´Ù. $ dist-> status-> ÀÛ¼ºµÈÀÌ ÇÔ¼öÀÇ ¹Ýȯ °ªÀ¸·Î ÀÛ¼ºµË´Ï´Ù. ÀÌ ¸Þ¼µå¸¦ ÀçÁ¤ÀÇÇϸéÀÌ °ªÀ» ¼³Á¤ÇؾßÇÕ´Ï´Ù. $ bool = $ dist-> install ÀÌ°ÍÀº ¹èÆ÷ÆÇÀÇ ¼³Ä¡ ´Ü°è¸¦ ½ÇÇàÇÕ´Ï´Ù. ÀÌ ´Ü°è´Â ¼³Ä¡ÇÒ ¹èÆ÷ (ÆÄÀÏ)¸¦ ÁغñÇÏ´Â CREATE CALLÀ» ÈÄ¼Ó Á¶Ä¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î, Ç¥ÁØ exutils :: MakeMaker ¹èÆ÷¿¡¼ È£ÃâÀ» »ý¼ºÇÏ¸é ¹èÆ÷ ÆÄÀÏÀ» ÃÖÁ¾ ¸ñÀûÁö·Î º¹»çÇϵµ·Ï ¼³Ä¡ÇϽʽÿÀ. µ¥ºñ¾È ¹èÆ÷ÀÇ °æ¿ì »ý¼º µÈ .deb ÆÄÀÏ¿¡¼ dpkg --installÀ» ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù. cpanplus :: dist :: ±âº» ±¸ÇöÀº ±âº» ¹èÆ÷ Ŭ·¡½º¸¦ È£ÃâÇϱ⠸¸ÇϸéµË´Ï´Ù (ÀϹÝÀûÀ¸·Î cpanplus :: dist :: mm ¶Ç´Â cpanplus :: Dist :: Build) .sets $ dist-> status->ÀÌ ÇÔ¼öÀÇ ¹Ýȯ °ª¿¡ ¼³Ä¡µË´Ï´Ù. ÀÌ ¸Þ¼µå¸¦ ÀçÁ¤ÀÇÇϸéÀÌ °ªÀ» ¼³Á¤ÇؾßÇÕ´Ï´Ù. $ bool = $ dist-> uninstallthis ¹èÆ÷ÀÇ Á¦°Å ´Ü°è¸¦ ½ÇÇàÇÕ´Ï´Ù. ÀÌ ´Ü°è´Â ÆÄÀÏ ½Ã½ºÅÛ¿¡¼ ºÐÆ÷¸¦ Á¦°ÅÇÏ´Â °ÍÀ» ÀǹÌÇÕ´Ï´Ù. Ç¥ÁØ extutils :: makemaker ¹èÆ÷¿¡¼ Á¦°Å È£ÃâÀº ¿¹¸¦ µé¾î ÆÄÀÏÀ» Á¦°ÅÇÏ¿© ÆÄÀÏ ½Ã½ºÅÛÀ» Á¦°ÅÇÕ´Ï´Ù. µ¥ºñ¾È À¯ÅëÀ» À§ÇØ ÀÌ´Â DPKG -Uninstall ÆÐÅ°Áö¸¦ ½ÇÇàÇÏ´Â À§Ä¡ÀÔ´Ï´Ù. CPANPLUS :: DIST :: ±âº» ±¸ÇöÀº ±âº» ¹èÆ÷ Ŭ·¡½º¸¦ È£ÃâÇϱ⠸¸ÇϸéµË´Ï´Ù (ÀϹÝÀûÀ¸·Î CPANPLUS :: DIST :: MM ¶Ç´Â CPANPLUS :: DIST :: BUILD) .sets $ dist-> status->ÀÌ ÇÔ¼öÀÇ ¹Ýȯ °ªÀ¸·Î Á¦°ÅµË´Ï´Ù. ÀÌ ¸Þ¼µå¸¦ ÀçÁ¤ÀÇÇϸéÀÌ °ªÀ» ¼³Á¤ÇؾßÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
CPANPlus :: Dist :: Base. °ü·Ã ¼ÒÇÁÆ®¿þ¾î
Acme :: Note.
ACME :: Note´Â ÇÁ·Î±×·¡¹Ö ½ºÅ¸ÀÏ¿¡ ´ëÇÑ Á¤½ÅÀûÀ¸·Î ³ëÆ®¸¦ ¸¸µå´Â Perl ¸ðµâÀÔ´Ï´Ù. ...
168
ÆÄÀÏ :: °Ë»ö ÀÚ :: Interactive.
FILE :: Searcher :: Interactive´Â ÆÄÀÏÀ» °Ë»öÇÏ°í ÀÏÄ¡ÇÏ´Â ÆÄÀÏÀÇ °Ë»ö / ±³Ã¼¸¦ ¼öÇàÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...
158
ÅÛÇø´ :: Ç÷¯±×ÀÎ :: Ŭ¸¯ °¡´É
ÅÛÇø´ :: Ç÷¯±×ÀÎ :: Ŭ¸¯ °¡´ÉÀº URLÀ» HTML·Î Ŭ¸¯ ÇÒ ¼öÀÖ´Â PERL ¸ðµâÀÔ´Ï´Ù. ...
172
PPM :: Make :: RepositorySummary.
PPM :: make :: RepositorySummary´Â PPM ÀúÀå¼Ò¿¡ ´ëÇÑ ¿ä¾à ÆÄÀÏÀ» »ý¼ºÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...
138