Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: list slice

by rir (Vicar)
on Jul 21, 2006 at 21:20 UTC ( #562950=note: print w/ replies, xml ) Need Help??


in reply to Re: list slice
in thread list slice

This is not a path I recommend; it may fail for time travelers:

my $year = ( ( localtime( ( (stat("."))[9] || die "stat die" ) ) )[5] || die "localtime die" ) + 1900;
Be well,
rir


Comment on Re^2: list slice
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-09-23 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (240 votes), past polls