Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: stat a file

by moritz (Cardinal)
on May 04, 2013 at 05:50 UTC ( #1031990=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @stat = stat $filename;
    say $stat[5];
    
  2. or download this
    use File::stat;
    my $stat_obj = stat $filename;
    print $stat_obj->mtime;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031990]
help
Chatterbox?
Discipulus should have..
[erix]: the almshouse generally seems to have become an anglosaxon relic :P
[Discipulus]: just to be sure was not for a free lunch.. sbaaam!
[Discipulus]: here now we call them Cities
[erix]: 'cities'? in italian? are they funded by charity?
[LanX]: The New Testament was first "published" in Greek, that's why

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-11-23 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?