Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 rifling through the Monastery: (3)
As of 2014-07-29 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls