CPAN :: PACKAGEDETAILS.»ý¼º ¶Ç´Â Àбâ 02packages.details.txt.gz. | |
Áö±Ý ´Ù¿î·Îµå |
CPAN :: PACKAGEDETAILS. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- Perl Artistic License
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- brian d foy
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~bdfoy/
CPAN :: PACKAGEDETAILS. ű×
CPAN :: PACKAGEDETAILS. ¼³¸í
02packages.details.txt.gz¸¦ »ý¼ºÇϰųª ÀÐÀ¸½Ê½Ã¿À CPAN :: PackageDetails Perl ¸ðµâÀ» »ç¿ëÇÏ¿© ÇØ´ç ÆÄÀÏÀÇ µ¥ÀÌÅÍ ±¸Á¶¸¦ °¡Á® ¿À°Å³ª Model.cpanÀ» ¸¸µé ¼ö ÀÖ½À´Ï´Ù. À妽º ÆÄÀÏ ÀÎ 02packages.details.txt.gz¸¦ »ç¿ëÇÏ¿© ÆÐÅ°Áö À̸§À» ¹èÆ÷ ÆÄÀÏ¿¡ ¸ÅÇÎÇÕ´Ï´Ù. CPAN :: PackageDetails Perl ¸ðµâÀ» »ç¿ëÇÏ¿© ÇØ´ç ÆÄÀÏÀÇ µ¥ÀÌÅÍ ±¸Á¶¸¦ °¡Á® ¿À°Å³ª »ç¿ëÀÚ¸¦ ¸¸µå´Â µ¥ÀÖ¾î 02package.details.txt.gz : ¸Ó¸®±Û ¹× »öÀο¡ µÎ °³ÀÇ ÆÄÆ®°¡ ÀÖ½À´Ï´Ù. ÀÌ ¸ðµâÀº ÃÖ»óÀ§ CPAN :: PackageDetails °³Ã¼¸¦ »ç¿ëÇÏ¿© ¸ðµç °ÍÀ» Á¦¾îÇÏ°í CPAN :: PackageDetails :: header ¹× cpan :: packageDetails :: Entries °´Ã¼¸¦ ±¸¼ºÇÕ´Ï´Ù. cpan :: packageDetails :: Ç׸ñ °³Ã¼´Â CPAN :: PackageDetails :: Entry °´Ã¼ÀÇ Ä÷º¼ÇÀÔ´Ï´Ù. °¡Àå ÀϹÝÀûÀÎ ¿ëµµ·Î Ŭ·¡½º°¡ ¹«¾ùÀ»ÇÏ°í ÀÖ´ÂÁö °ÆÁ¤ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. ÃÖ»óÀ§ CPAN :: PackageDetails °³Ã¼¿¡¼ ´ëºÎºÐÀÇ ¸Þ¼Òµå¸¦ È£ÃâÇÏ°í ¿Ã¹Ù¸¥ À§Ä¡¿¡ µµÂøÇÏ´ÂÁö È®ÀÎÇÕ´Ï´Ù. CPAN :: PackageDetails¸¦ »ç¿ëÇÕ´Ï´Ù. # ±âÁ¸ ÆÄÀÏ Àбâ ##################### ³» $ package_details = cpan :: packageDetails-> Àбâ ($ filename); MY $ COUNT = $ PACKAGE_DETAILS-> Ä«¿îÆ®; MY $ RECORDS = $ package_details-> Ç׸ñ; ³» $ ·¹ÄÚµå (@ $ ·¹ÄÚµå) {# CPAN :: PackageDetails :: Entry To ProctInt :: Entry Print Join "", ¸Ê {$ record -> $ _ ()} ( 'ÆÐÅ°Áö À̸§', '¹öÀü', '°æ·Î') Àμ⠰¡ÀÔ "", ¸Ê {$ ·¹ÄÚµå -> $ _ ()} $ package_details-> contarns_as_list; } # ¾ÆÁ÷ ±¸ÇöµÇÁö ¾Ê¾ÒÁö¸¸ Á¤¸»·Î Á¤¸»·Î ¸ÚÁö°Ú½À´Ï±î? $ records = $ package_details-> Ç׸ñ (logic => ¶Ç´Â ', #,ÇÏÁö¸¸ ±âº» ÆÐÅ°Áö => qr / ^ test :: /, # ¶Ç´Â string ÀÛ¼ºÀÚ =>'ovid '), # ´ë¼Ò ¹®ÀÚ°¡ ¾øÀ½ °æ·Î => qr / foo /,); # »õ ÆÄÀÏ ¸¸µé±â #################### MY $ package_details = cpan :: packageDetails-> new (file => "02packages.details.txt", URL) => "http://example.com/mycpan/modules/02packages.details.txt", ¼³¸í => "³» °³ÀÎ CPANÀÇ ÆÐÅ°Áö À̸§", Ä÷³ => "ÆÐÅ°Áö À̸§, ¹öÀü, °æ·Î", CONPORTH_FOR => " ³» °³ÀÎ cpan ", cpan :: packageDetails $ 0.SPAN :: PackageDetails :: ¹öÀü", last_updated => cpan :: packageDetails-> format_date, allow_packages_only_once => 1, 1); $ package_details-> add_entry (package_name => $ package, version => $ ÆÐÅ°Áö -> ¹öÀü; path => $ path); "Write to Write", $ package_details-> count, "Ç׸ñ" "; $ package_details-> write_file ($ file); $ package_details-> write_fh (* stdout) ¿ä±¸ »çÇ× : ¡¤ Perl.
CPAN :: PACKAGEDETAILS. °ü·Ã ¼ÒÇÁÆ®¿þ¾î