Great stuff. Thanks for the feedback.
I really like the second solution.
The third solution isn't as portable, though.
Why do you think redefining $/ as I did is a potential problem?
In reply to Re^2: Common Perl Pitfalls
by Joe_
in thread Common Perl Pitfalls
by Joe_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |