-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in Carp::Heavy? #1780
Comments
From [email protected]I'm not sure if this is a bug or what. BTW, I tried sending a bug report twice and it didn't go through so Anyway, under 5.6.0 it seems that the results of caller have changed ever Here's a quick test script that illustrates the issue (compare under use Carp; eval { Here's a patch: Inline Patch--- /usr/local/lib/perl5/5.6.0/Carp/H Tue Apr 4 23:10:47 2000
+++ /usr/local/lib/perl5/5.6.0/Carp/Heavy.pm Tue Apr 4 23:17:56 2000
@@ -58,7 +58,7 @@
} else {
# Build a string, $sub, which names the sub-routine called.
# This may also be "require ...", "eval '...' or "eval {...}"
- if (defined $eval) {
+ if ($eval) {
if ($require) {
$sub = "require $eval";
} else {
$SIG{__DIE__} = sub { confess(@_) }; and then do: eval '0'; and that eval caused a fatal error (dunno how though) it might cause Carp and here's my perl -V: Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Characteristics of this binary (from libperl): /*================== |
From @iabynThis appears to have been fixed in bleedperl. |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#3034 (status was 'resolved')
Searchable as RT3034$
The text was updated successfully, but these errors were encountered: