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

Re: Using (s)printf()

by Evel (Acolyte)
on Feb 25, 2015 at 05:50 UTC ( [id://1117783]=note: print w/replies, xml ) Need Help??


in reply to Using (s)printf()

sometime seems if the second parameter including a '%', if I need use printf to output in a file like csv. I always need using $print_out =~ s/%/%%/g; to replace the % to %% and then print in the file. I am not sure whether we have the better solution on this kinds of issue.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2025-06-24 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.