Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: removing leading 0's

by RichardK (Parson)
on Oct 03, 2015 at 15:59 UTC ( #1143717=note: print w/replies, xml ) Need Help??


in reply to removing leading 0's

OO10 is an octal number equal to 8 (decimal) therefore $y = 8 not 10.

This may help explain

perl -E 'say 0010,",","0010";' >8,0010

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2020-06-05 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?