Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-09-22 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls