Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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.

Replies are listed 'Best First'.
Re^4: Code Maintainability
by JadeNB (Chaplain) on Dec 09, 2008 at 17:55 UTC
    { local $, = "\n"; say STDERR @lines; }
    be clearer still?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://728364]
zentara...oO 1 more reason I prefer Perl to Python is I can't believe how long Python takes to compile, and you can't disable the myriad of tests
[LanX]: so that's where you've been the last two years? Compiling Python?
[zentara]: LanX no! I was learning why Krishna made me into a unicorn. :-)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-03-30 16:47 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (361 votes). Check out past polls.