Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: help with sprintf

by jwkrahn (Abbot)
on Jun 20, 2012 at 21:51 UTC ( [id://977485]=note: print w/replies, xml ) Need Help??


in reply to Re^2: help with sprintf
in thread help with sprintf

my @times = map "$_00", '00' .. '23';

Replies are listed 'Best First'.
Re^4: help with sprintf
by Eliya (Vicar) on Jun 20, 2012 at 22:26 UTC

    I suppose you meant

    my @times = map "${_}00", '00' .. '23';

    ($_00 is a valid variable name, which interpolates to nothing)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2024-03-19 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found