Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: localtime

by ysth (Canon)
on Jan 05, 2005 at 20:11 UTC ( [id://419716]=note: print w/replies, xml ) Need Help??


in reply to Fetching Only Month and Year From localtime()

The (LIST)[LIST] syntax others have shown is called a list slice. It allows you to have an arbitrary expression that generates a list in the () and extract arbitrary elements from it, by specifying the index/indicies in the [].

Replies are listed 'Best First'.
•Re^2: localtime
by merlyn (Sage) on Jan 05, 2005 at 20:21 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-18 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found