in reply to Re: __FILE__ and __LINE__ for Perl?
in thread __FILE__ and __LINE__ for Perl?
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 warnwarn "I'm a warning about something";
|
|---|