Closed p5pRT closed 20 years ago
The first time Perl tries to croak while running under -d\, the message comes out as "Assertion failed: file "pp_ctl.c"\, line 2430":
main::(-e:1): 0
DB\<1> $a = \<
Assertion failed: file "pp_ctl.c"\, line 2430\, \
DB\<2> $a = \<
Unterminated \<> operator at (eval 5) line 2\, \
Perl_croak() call DB::dbdie; this in turn calls Carp::longmess. The first call to Carp::longmess loads Carp::Heavy and this messes up the runlevel.
Workaround:
setenv PERL5DB 'BEGIN { require Carp::Heavy; require "perl5db.pl"; }'
-- HansM
Migrated from rt.perl.org#1223 (status was 'resolved')
Searchable as RT1223$