CGI-Carp-Throw
view release on metacpan or search on metacpan
lib/CGI/Carp/Throw.pm view on Meta::CPAN
);
*CGI::Carp::Throw::warningsToBrowser = *CGI::Carp::warningsToBrowser;
my $final_warn_browser;
#####################################################################
# Need to call CGI::Carp's import in a controlled manner and with
# a controlled environment.
#
# More complicated than I would like but guessing it's reasonably
# robust.
#####################################################################
sub import {
my $pkg = shift;
# this section mostly taken from CGI::Carp
my @routines = grep { ! /^(?:name|:)/ } (@_, @EXPORT);
my($oldlevel) = $Exporter::ExportLevel;
$Exporter::ExportLevel = 1;
Exporter::import($pkg,@routines);
( run in 0.699 second using v1.01-cache-2.11-cpan-748bfb374f4 )