Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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})/;


Comment on Re: list slice
Download Code

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (21)
As of 2015-07-31 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (279 votes), past polls