Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: File date

by Utilitarian (Vicar)
on Sep 19, 2014 at 08:25 UTC ( [id://1101169]=note: print w/replies, xml ) Need Help??


in reply to File date

You're expecting the core stat rather than the module File::stat which overrides the core function. Don't import the module (try replacing with use strict instead ;) ) and it should work.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-29 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found