Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: stat a file

by moritz (Cardinal)
on May 04, 2013 at 05:50 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1031990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-03-28 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found