|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: bad results from stat()by Paladin (Curate) |
| on Mar 07, 2005 at 23:45 UTC ( #437349=note: print w/ replies, xml ) | Need Help?? |
|
If you look at the docs for stat you will see that the first 2 elements returned from it are not the file size and mtime, but the device and inode numbers of the files. The perldoc for stat shows you which elements are returned in which order. You probably want something like:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||