Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Using (s)printf()

by trvth (Initiate)
on May 29, 2012 at 21:17 UTC ( #973126=note: print w/ replies, xml ) Need Help??


in reply to Using (s)printf()

Under "Format Specifiers" I see "printf(*quot;%+d", 7);" -- it looks like that leading asterisk "*" should be an ampersand "&" so that the double quote character will be displayed instead of "*quot;"


Comment on Re: Using (s)printf()
Re^2: Using (s)printf()
by toolic (Chancellor) on May 29, 2012 at 23:38 UTC
    printf(*quot;%+d", 7); # prints '+7'

    should be:

    printf("%+d", 7); # prints '+7'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-09-19 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls