| ºÐ¼® :: ¹ÙÀ̳ʸ® :: FixedFormat. ºÐ¼® :: ¹ÙÀ̳ʸ® :: FixedFormatÀº °íÁ¤ ±æÀÌ Çʵå¿Í Çؽà »çÀ̸¦ º¯È¯ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
ºÐ¼® :: ¹ÙÀ̳ʸ® :: FixedFormat. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Autrijus Tang
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~autrijus/
ºÐ¼® :: ¹ÙÀ̳ʸ® :: FixedFormat. ű×
ºÐ¼® :: ¹ÙÀ̳ʸ® :: FixedFormat. ¼³¸í
ºÐ¼® :: ¹ÙÀ̳ʸ® :: FixedFormatÀº °íÁ¤ ±æÀÌ Çʵå¿Í Çؽà »çÀ̸¦ º¯È¯ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Parse :: Binary :: FixedFormat´Â °íÁ¤ ±æÀÌ Çʵå¿Í Çؽà »çÀ̸¦ º¯È¯ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Synopsis Parse :: Binary :: FixedFormat; MY $ TARHDR = NEW SPSE :: BINARY :: FixedFormat ]; ³» $ buf; tarfile, $ buf, 512 Àбâ; # $ hdr = $ tarhdr-> unformat ($ buf) ÆÄÀÏ¿¡¼ ÀÐÀº ¹öÆÛ¿¡¼ Çؽø¦ ¸¸µì´Ï´Ù. # $ HDRÀº Çؽà REF # Hash ÂüÁ¶¿¡¼ Ç÷§ ·¹Äڵ带 ¸¸µì´Ï´Ù. $ BUF = $ TARHDR-> Çü½Ä ($ HDR); # $ hdrÀº Çؽà REF # »õ ·¹Äڵ忡 Çؽø¦ ¸¸µé ¼ö ÀÖ½À´Ï´Ù. MY $ NEWREC = $ TARHDR-> blank (); Parse :: Binary :: FixedFormatÀº °íÁ¤ ±æÀÌ Çʵå Á¤ÀÇ¿Í ¹öÆÛ »çÀ̸¦ º¯È¯ÇÏ´Â µ¥ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. °¢ Çʵ忡 ´ëÇÑ ¸í¸í µÈ Ç׸ñÀÌÀÖ´Â ÇؽÃ. Perl Pack ¹× Unfrack ±â´ÉÀº ÀüȯÀ» ¼öÇàÇÏ´Â µ¥ »ç¿ëµË´Ï´Ù. Parse :: Binary :: FixedFormat ÇÊµå ¼³¸íÀ» ¿¬°áÇÏ°í ÆÑ ¹× ¾ÐÃàÀ» Ǫ´Â ¸ñ·Ï°ú Çʵå À̸§À¸·Î ÂüÁ¶ ÇÒ ¼öÀÖ´Â Çؽð¡ÀÖ´Â Çؽà »çÀ̸¦ º¯È¯ÇÏ¿© Çü½Ä ¹®ÀÚ¿À» ºôµåÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
ºÐ¼® :: ¹ÙÀ̳ʸ® :: FixedFormat. °ü·Ã ¼ÒÇÁÆ®¿þ¾î