in reply to Disabling CGI::Carp(fatalsToBrowser)
$CGI::Carp::WRAP = 0
To only hide warnings in your module, you could localize the effect, by putting at the beginning of each sub:
This will reset the flag to its previous value when that sub finishes.local $CGI::Carp::WRAP = 0;
Longer-term, you could write a patch to make this more formal, and submit it to CGI::Carp's author.
|
---|