Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: list slice

by jwkrahn (Monsignor)
on Jul 21, 2006 at 21:52 UTC ( #562955=note: print w/replies, xml ) Need Help??


in reply to list slice

If you want to do it all on one line then:
my ( $year ) = localtime( ( stat $file )[ 9 ] ) =~ /(\d{4})/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://562955]
help
Chatterbox?
and the monks are mute...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2016-12-04 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.