Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Code Maintainability

by mpeever (Friar)
on Dec 05, 2008 at 20:18 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://728364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2026-05-08 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.