Eobj
view release on metacpan or search on metacpan
Eobj/PLerrsys.pm view on Meta::CPAN
last CRAWL if ($errcr eq 'halt');
@a=();
@a = @DB::args if $hargs; # must get local copy of args
#
# if the $error error string is newline terminated then it
# is copied into $mess. Otherwise, $mess gets set (at the end of
# the 'else' section below) to one of two things. The first time
# through, it is set to the "$error at $file line $line" message.
# $error is then set to 'called' which triggers subsequent loop
# iterations to append $sub to $mess before appending the "$error
# at $file line $line" which now actually reads "called at $file line
# $line". Thus, the stack trace message is constructed:
#
# first time: $mess = $error at $file line $line
# subsequent times: $mess .= $sub $error at $file line $line
# ^^^^^^
# "called"
if ($error =~ m/\n$/) {
$mess .= $error;
} else {
( run in 1.511 second using v1.01-cache-2.11-cpan-71847e10f99 )