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

Re: padding/substr quirk

by Zed_Lopez (Chaplain)
on Jan 10, 2004 at 21:51 UTC ( #320386=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    bash-2.05b$ perl -MTime::localtime -e 'print "0" .  localtime->mon() +
    + 1, "\n"'
    1
    bash-2.05b$ perl -MTime::localtime -e 'print +("0" . localtime->mon())
    + + 1, "\n"'
    1
    bash-2.05b$ perl -MTime::localtime -e 'print "0" . (localtime->mon() +
    + 1), "\n"'
    01
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-10-31 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (216 votes), past polls