Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: stat a file

by afoken (Prior)
on May 04, 2013 at 09:30 UTC ( #1032009=note: print w/ replies, xml ) Need Help??


in reply to Re^2: stat a file
in thread stat a file

stat has slightly less overhead, but File::stat is slightly more readable. File::stat is part of the Perl core since 5.004 (released 1997-05-15), so it's quite safe to assume that File::stat is available even on older Perl installations.

File::stat has some minor problems, mainly with the implicit $_ and the special handle _, see "Bugs" in File::stat. Also, the filetest operators -t, -T, and -B are not implemented in File::stat. This is documented in "Errors".

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)


Comment on Re^3: stat a file
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2015-07-30 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls