good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: __FILE__ and __LINE__ for Perl?by bm (Hermit) |
on Oct 03, 2003 at 12:02 UTC ( [id://296197]=note: print w/replies, xml ) | Need Help?? |
Just to be a little more specific, note that
does not contain a trailing newline. If your warning message does contain \n as the last character, warn will not include at demo.pl line 47. See perldoc -f warn -- bm
In Section
Seekers of Perl Wisdom
|
|