Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: list slice

by bart (Canon)
on Jul 21, 2006 at 18:25 UTC ( #562912=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $year = (localtime((stat($file))[9]))[5] + 1900;
    
  2. or download this
    my $sixth = (foo(@args))[5];
    
  3. or download this
    my $sixth = [foo(@args)]->[5];
    
  4. or download this
    my $year = [localtime([stat($file)]->[9])]->[5] + 1900;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://562912]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-09-21 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (244 votes). Check out past polls.

    Notices?