Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

I don't use printf enough

by dreadpiratepeter (Priest)
on Oct 22, 2003 at 16:09 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-04-18 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found