Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: sprintf zero-fill issue

by snopal (Pilgrim)
on Jun 27, 2007 at 22:17 UTC ( [id://623763]=note: print w/replies, xml ) Need Help??


in reply to sprintf zero-fill issue

I like:

my $var1alt = substr "00000000000000".$var1, -14; my $var2alt = substr "00000000000000".$var2, -14;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://623763]
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: (6)
As of 2024-04-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found