Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Code Maintainability

by mpeever (Friar)
on Dec 05, 2008 at 20:18 UTC ( #728364=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Code Maintainability
in thread Code Maintainability

In other words, I'd write:
print STDERR "$_\n" for @lines;
I think you're right: that's the clear winner. It's much less cryptic, and doesn't seem to offer any real downsides.


Comment on Re^3: Code Maintainability
Download Code
Re^4: Code Maintainability
by JadeNB (Chaplain) on Dec 09, 2008 at 17:55 UTC
    Wouldn't
    { local $, = "\n"; say STDERR @lines; }
    be clearer still?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-04-17 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls