Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[stevieb]: it is a royal pita to have to disconnect a GPS serial pins every time I want to upload a code change to my Arduino...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2017-05-28 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?