Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Idiomatic optimizations

by blakem (Monsignor)
on Apr 30, 2002 at 05:40 UTC ( #162999=note: print w/ replies, xml ) Need Help??


in reply to Re: Idiomatic optimizations
in thread Idiomatic optimizations

One caveat though: When printing a list, each element is evaluated in LIST context whereas concatenated expressions are evaluated in SCALAR context....

% perl -le 'print "Today: ". localtime()' Today: Tue Apr 30 01:35:48 2002 % perl -le 'print "Today: ", localtime()' Today: 5435130310221191

-Blake


Comment on Re: Re: Idiomatic optimizations
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-08-01 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls