Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: I don't use printf enough

by Abigail-II (Bishop)
on Oct 22, 2003 at 20:53 UTC ( #301363=note: print w/ replies, xml ) Need Help??


in reply to I don't use printf enough

Sometimes I prefer to use some extra variables to make things more readable. This might be such a case:
my $method1 = $obj -> method1; my $method2 = $obj -> method2; my $method3 = $obj -> method3; print "text text $method1 more text $method2 blah blah $method3\n" +;

Abigail

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2016-06-29 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (387 votes). Check out past polls.