Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: On bad habits

by tlm (Prior)
on Jun 21, 2005 at 17:02 UTC ( #468753=note: print w/replies, xml ) Need Help??

in reply to Re^2: On bad habits
in thread On bad habits

But just to clarify, the biggest problem with that code fragment is not that it's lengthy, but that it discards the last line of the file when it does not end in a $/.

the lowliest monk

Replies are listed 'Best First'.
Re^4: On bad habits
by Nkuvu (Priest) on Jun 21, 2005 at 17:50 UTC
    Exactly. And this is something that I never realized until someone pointed it out to me (just never really thought about it). I was fortunate enough to never have this bite me, and got out of the habit of the fragment before it did actually cause problems.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2021-10-21 03:11 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (82 votes). Check out past polls.