Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: list slice

by imp (Priest)
on Jul 21, 2006 at 22:50 UTC ( #562971=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    printf "%04s-%02s-%02s\n", map { @$a ? $_ + shift @$a : $_} (localtime
    +,$a=[1900,1])[5,4,3];
    
  2. or download this
    (localtime,$a=[1900,1])
    
  3. or download this
    (localtime,$a=[1900,1])[5,4,3]
    
  4. or download this
    map { 
       @$a 
         ? $_ + shift @$a 
         : $_
    } (localtime,$a=[1900,1])[5,4,3];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://562971]
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: (14)
As of 2014-11-26 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (172 votes), past polls