Perl-Sensitive Sunglasses | |
PerlMonks |
Re: RFC: "Best Practices" code review sectionby trammell (Priest) |
on Aug 04, 2005 at 22:48 UTC ( [id://481035]=note: print w/replies, xml ) | Need Help?? |
A better practice is to put $filename (or similar) in some sort of delimiter in the die() call, like this:
This gives you a handle on edge cases where e.g. $filename has trailing whitespace.
In Section
Perl Monks Discussion
|
|