Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

I don't use printf enough

by dreadpiratepeter (Priest)
on Oct 22, 2003 at 16:09 UTC ( #301264=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "text text " . $obj->method1() . " more text " .
      $obj->method2() . " blah blah " . $obj->method3() . "\n";
    
  2. or download this
    printf "text text %s more text %s blah blah %s\n",
           $obj->method1(),$obj->method2(),$obj->method3();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://301264]
Approved by broquaint
Front-paged by diotalevi
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2015-07-07 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls