Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: output format changed perl5.8 --> perl 5.10?

by hippo (Abbot)
perl 5.10? NODE.owner = 885521 N.title = monktitlebar sitedoclet N.owner = 17342 -->
on Apr 25, 2014 at 14:52 UTC ( #1083795=note: print w/replies, xml ) Need Help??


in reply to output format changed perl5.8 --> perl 5.10?

Call me old-fashioned, but I always use %i for integers. eg:

perl -e 'printf "%2.2i\n", 4;'

which seems to work fine on 5.8.8 and 5.10.1. HTH.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1083795]
help
Chatterbox?
[karlgoethebier]: ...pasta bolded too soft in Eately?
[karlgoethebier]: BOILED!
[karlgoethebier]: OK, at least a cool song: https://www. youtube.com/watch? v=jU4caMqKssg

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-10-21 15:08 GMT
Sections?
perl 5.10? NODE.owner = 885521 N.title = Sections sitedoclet N.owner = 17342 -->
Information?
perl 5.10? NODE.owner = 885521 N.title = Information sitedoclet N.owner = 17342 -->
Find Nodes?
perl 5.10? NODE.owner = 885521 N.title = Find Nodes sitedoclet N.owner = 17342 -->
Leftovers?
    perl 5.10? NODE.owner = 885521 N.title = Leftovers sitedoclet N.owner = 17342 -->
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?