good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: How do I use statby ducky (Scribe) |
on Sep 28, 2001 at 00:05 UTC ( [id://115233]=note: print w/replies, xml ) | Need Help?? |
No problem! That is exactly why we're here =) One thing to consider when doing stat is that it operates off of the current working directory. Perhaps $_ isn't really pointing to a valid file? Proper error checking is very good practice and often needs very little extra modification: Oh, and no, stat works just fine by its lonesome. No prep is needed. -Ducky
In Section
Seekers of Perl Wisdom
|
|