Data-Startup
view release on metacpan or search on metacpan
t/Data/File/Package.pm view on Meta::CPAN
if( @import ) {
####
# Import does not work correctly when running under eval. Import
# uses the caller stack to determine way to stuff the symbols.
# The eval messes with the stack. Since not using an eval, need
# to double check to make sure import does not die.
####
# Poor man's eval where trap off the Carp::croak function.
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
( run in 0.695 second using v1.01-cache-2.11-cpan-49f99fa48dc )