Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Get your script warnings on the page it generates

by Gloom (Monk)
on Jan 22, 2001 at 21:23 UTC ( #53548=note: print w/replies, xml ) Need Help??


in reply to Get your script warnings on the page it generates

why don't you catch'n display your warnings like this :
$SIG{__WARN__} = sub { print "<HR><B>Warning : </B>$_[0]<HR>"; };

Replies are listed 'Best First'.
Re: Re: Get your script warnings on the page it generates
by BooK (Curate) on Jan 23, 2001 at 00:12 UTC

    This one is probably the best way to do it. I can save the warnings into a scalar for later use...

    If only I had toroughly read Amelia... Actually, the only problem really is that it works only with 5.6. (As if my script didn't already use 5.6 specific stuff already!)

    Great, I'll do this and share! Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://53548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2022-01-20 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?