Open p5pRT opened 9 years ago
First spotted by LeoNerd.
$ cat Thing.pm package Thing; # # # # # # # END { die; }
sub wah { die; }
1;
--
$ cat d.pl #!/usr/bin/perl
use Thing;
Thing::wah();
--
./d.pl Died at Thing.pm line 13. Died at Thing.pm line 10. END failed--call queue aborted at ./d.pl line 13.
Notice that it says "call queue aborted at ./d.pl line 13."
Line 13 is where in Thing.pm the first die() was called in sub wah().
So we have a misreporting of filename/line number here\, but I'm not sure if the file name is wrong or the line number is wrong...
Migrated from rt.perl.org#124266 (status was 'new')
Searchable as RT124266$