go ahead... be a heretic | |
PerlMonks |
Re: On bad habitsby trammell (Priest) |
on Jun 21, 2005 at 14:33 UTC ( [id://468691]=note: print w/replies, xml ) | Need Help?? |
These days I find myself using the "-l" perl option a lot, and I rarely need to put explicit "\n"'s in my code (maybe for printf). A nice bit of laziness/DWIMery. Perhaps that would help you break your habit.
Update: Thanks, !1, I didn't know that, but it makes abundant sense. I suppose I've never run into it before because I don't use a lot of modules that have their own file IO.
In Section
Meditations
|
|