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

Re: Re: How to lose Carp levels with @CARP_NOT?

by liz (Monsignor)
on Jan 28, 2004 at 21:59 UTC ( #324808=note: print w/ replies, xml ) Need Help??


in reply to Re: How to lose Carp levels with @CARP_NOT?
in thread How to lose Carp levels with @CARP_NOT?

Argh, you're right. Well, that explains why it didn't work.

Any suggestions, other than calling longmess and removing the appropriate lines manually?

Liz

  • Comment on Re: Re: How to lose Carp levels with @CARP_NOT?

Replies are listed 'Best First'.
Re: Re: Re: How to lose Carp levels with @CARP_NOT?
by ysth (Canon) on Jan 28, 2004 at 22:35 UTC
    A quick check shows that longmess protects against newlines in the parameters, so manually filtering should work fairly easily (completely untested):
    $longmess =~ s/\n\tLog::Dispatch::(Perl::|::Output::)?[^:]+\(.*//g;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-07-29 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (260 votes). Check out past polls.