Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: __FILE__ and __LINE__ for Perl?

by bm (Hermit)
on Oct 03, 2003 at 12:02 UTC ( #296197=note: print w/replies, xml ) Need Help??


in reply to Re: __FILE__ and __LINE__ for Perl?
in thread __FILE__ and __LINE__ for Perl?

Just to be a little more specific, note that
warn "I'm a warning about something";
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://296197]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2016-12-03 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.