Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 musing on the Monastery: (6)
As of 2015-07-04 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls