Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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: (11)
As of 2015-03-05 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (137 votes), past polls