| ÆÄÀÏ :: STAT :: OO. ÆÄÀÏ »óÅ ¼Ó¼º¿¡ ¾×¼¼½ºÇϱâÀ§ÇÑ OO ÀÎÅÍÆäÀ̽º |
Áö±Ý ´Ù¿î·Îµå |
ÆÄÀÏ :: STAT :: OO. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~dhorne/
ÆÄÀÏ :: STAT :: OO. ű×
ÆÄÀÏ :: STAT :: OO. ¼³¸í
ÆÄÀÏ »óÅ ¼Ó¼º¿¡ ¾×¼¼½ºÇϱâÀ§ÇÑ OO ÀÎÅÍÆäÀ̽º ÆÄÀÏ :: STAT :: OO´Â ÆÄÀÏ »óÅ Attributes¿¡ ¾×¼¼½ºÇϱâÀ§ÇÑ °´Ã¼ ÁöÇâ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. Synopsis ÆÄÀÏ :: STAT :: OO; ³» $ foo = file :: stat :: oo-> new ({file => / etc / password '}); $ foo-> stat; # Instantiation Time¿¡¼ ÁöÁ¤µÈ # STAT ÆÄÀÏ $ foo-> Å©±â; $ Foo-> Mtime Àμâ; # EPOCH SECONDORÀÇ ¼öÁ¤ ½Ã°£ DATETIME °´Ã¼¿¡ EPOCH Ãʸ¦ ÆØâ½ÃÄÑ ³» $ foo = file :: stat :: oo-> new (); $ foo-> use_datetime (1); # ¶Ç´Â À§ÀÇ µÎ ÁÙÀº # my $ foo = file :: stat :: oo-> new ({use_datetime => 1}); $ foo-> stat ( '/ etc / password'); # STAT ¸Þ¼Òµå¿¡ ÆÄÀÏ À̸§À» Àü´ÞÇÕ´Ï´Ù. $ foo-> mtime Àμâ; # ePoch ÀμⰡ ¾Æ´Ñ datetime °´Ã¼¸¦ ¹ÝȯÇÕ´Ï´Ù $ foo-> mtime-> epoch; # epoch seconds ¿ä±¸ »çÇ× : ¡¤ Perl.
ÆÄÀÏ :: STAT :: OO. °ü·Ã ¼ÒÇÁÆ®¿þ¾î