| Æ÷µå :: ±ò²ûÇÑ Æ÷µå :: ±ò²ûÇÑ °ÍÀº Æ÷¸ËÆà Æ÷µå ÇÁ·Î¼¼¼ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Æ÷µå :: ±ò²ûÇÑ ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Joshua Hoblitt
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~jhoblitt/Pod-Tidy-0.09/lib/Pod/Tidy.pod
Æ÷µå :: ±ò²ûÇÑ Å±×
Æ÷µå :: ±ò²ûÇÑ ¼³¸í
Æ÷µå :: ±ò²ûÇÑ °ÍÀº Æ÷¸ËÆà Æ÷µå ÇÁ·Î¼¼¼ÀÔ´Ï´Ù. Pod :: Zidy´Â Æ÷¸ËÆà Æ÷µå ÇÁ·Î¼¼¼ÀÔ´Ï´Ù. ½Ä ³ëÇÁ »ç¿ë POD :: ±ò²ûÇÑ QW (TIDY_FILES TIDY_FILEHANDLE); $ processed = pod :: tidy :: tidy_files (files => @list, ignore => , Àç±Í => $ Àç±Í Àû, verbose => $ verbose, inplace => $ inplace , nobackup => $ nobackup,); POD :: Tidy :: Tidy_FileHandle ($ ÀÔ·Â);ÀÌ ¸ðµâÀº Podtidy À¯Æ¿¸®Æ¼°¡ ÇÊ¿ä·ÎÇÏ´Â ¹«°Å¿î ¸®ÇÁÆÃÀ» Á¦°øÇÕ´Ï´Ù. Symbols.Exportable SubroutineStidy_files (...) Çʼö Çؽø¦ Çã¿ëÇÕ´Ï´Ù. $ processed = pod :: tidy :: tidy_files (files => @list, ignore => , Àç±Í => $ Àç±Í Àû, verbose => $ verbose, inplace => $ inplace , nobackup => $ nobackup,); ÆÄÀÏ ¹× / ¶Ç´Â µð·ºÅ丮 ¸ñ·ÏÀ» ¹è¿ ref.IGnore ÆÄÀÏ ¹× / ¶Ç´Â µð·ºÅ丮¸¦ °ÅºÎÇÏ´Â µ¥ »ç¿ëµÇ´Â regex °´Ã¼¸¦ ¹è¿ ref. °¢ ÆÐÅÏÀº Àý´ë ÆÄÀÏ °æ·Î, »ó´ë ÆÄÀÏ °æ·Î (Ç¥ÁØÈ) ¹× BaseName¿¡ ´ëÇÑ ÀÏÄ¡¸¦ (¼ø¼ ´ëºñ) ½ÃµµÇÕ´Ï´Ù. µð·ºÅ丮ÀÇ °æ¿ì "Basename"Àº ´ëºÎºÐÀÇ °æ·Î ±¸¼º ¿ä¼Ò·Î °£Áֵ˴ϴÙ. ¿¹¸¦ µé¾î / foo / bar / bazÀÇ "basename"Àº bazÀÔ´Ï´Ù.ÀÌ Å°´Â ¼±ÅÃÀûÀÔ´Ï´Ù .recursive undef, 0 ¶Ç´Â 1. ÆÄÀÏ Å°¿¡ Á¦°øµÈ µð·ºÅ丮¸¦ 1·Î ¼³Á¤Çϸé Àç±Í ÀûÀ¸·Î È®ÀåµË´Ï´Ù. ...¿¡ ±âº»°ªÀº ¼±ÅÃÀûÀÔ´Ï´Ù. ºñ¹Ù·Î, 0 ¶Ç´Â 1À» Çã¿ëÇÕ´Ï´Ù. 1Àº ÀÚ¼¼ÇÑ °æ°í¸¦ °¡´ÉÇÏ°ÔÇÕ´Ï´Ù. ±âº»°ªÀº Undef.this Å°´Â ¼±ÅÃÀûÀÔ´Ï´Ù .InPlace´Â Undef, 0 ¶Ç´Â 1À» Çã¿ëÇÕ´Ï´Ù. 1Àº ÆÄÀÏÀ» ´Ù½Ã Æ÷¸Ë ÇÒ ¼ö ÀÖ½À´Ï´Ù. nobackup Å°°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀ¸¸é ¾÷µ¥ÀÌÆ® µÈ ÆÄÀÏÀÌ ¹é¾÷µË´Ï´Ù. º¯°æ »çÇ×ÀÌ º¯°æµÇÁö ¾ÊÀ¸¸é ÆÄÀÏÀÇ M ½Ã°£ÀÌ GuerEteEd°¡ º¯°æµÇÁö ¾Ê¾Æ¾ßÇÕ´Ï´Ù. ±âº»°ªÀº Undef.this Å°ÀÔ´Ï´Ù. nobackupaccepts undef, 0 ¶Ç´Â 1. Freendatted 1 ÆÄÀÏ·Î ¼³Á¤µÈ ÆÄÀÏ·Î ¼³Á¤ÇÏ¸é ¹é¾÷µÇÁö ¾Ê½À´Ï´Ù. ±âº»°ªÀº ¼±ÅÃÀûÀÔ´Ï´Ù. È®ÀÎÀ» À§ÇØ ÆÄÀÏÀ» ó¸®Çϱâ Àü¿¡ ´ÙÀ½À» È®ÀÎÇϽʽÿÀ. ¿Ã¹Ù¸¥ ¾×¼¼½º ±ÇÇÑÀ» È®ÀÎÇϽʽÿÀ. Podled Pod SyntaxAnite ÆÄÀÏÀ» ÃæÁ·½ÃÅ°Áö ¸øÇÑ ÆÄÀÏÀÌ Ã³¸®µÇÁö ¾Ê½À´Ï´Ù. ÆÄÀÏÀ» ó¸® ÇÒ ¼ö¾ø´Â °æ¿ì ó¸® µÈ ÆÄÀÏÀ̳ª ÇØÁ¦ µÈ ÆÄÀÏÀ» ¹ÝȯÇÕ´Ï´Ù. TIDY_FILEHANDLE ($ INPUT) ¿·ÁÀÖ´Â ÆÄÀÏ ÇÚµéÀ» Çã¿ëÇÕ´Ï´Ù. FileHandleÀÇ µ¥ÀÌÅÍ´Â Àб⠶§¹®¿¡ ó¸® µÇ¹Ç·ÎÀÌ ¼ºê ·çƾÀ» »ç¿ëÇÏ¿© ¸¹Àº ¾çÀÇ µ¥ÀÌÅ͸¦ ÇÊÅ͸µ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ µ¿ÀÛÀ¸·Î ÀÎÇØ POD ¹®¼°¡ À¯È¿ÇÑ POD ±¸¹® ¸¸ »ç¿ëÇÏ´Â °æ¿ì ½ÇÁ¦·Î POD¿Í B°¡ A)¸¦ È®ÀÎÇÏ·Á¸é ¹Ì¸® ÀÔ·ÂÀ» È®ÀÎÇÒ ¼ö ¾ø½À´Ï´Ù. Ãâ·ÂÀÌ stdoutÀ¸·Î ¼³Á¤µË´Ï´Ù. ¾Æ¹«°Íµµ ¹ÝȯÇÏÁö ¾Ê½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
Æ÷µå :: ±ò²ûÇÑ °ü·Ã ¼ÒÇÁÆ®¿þ¾î