Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the File-Next CPAN distribution.

Report information
The Basics
Id: 21329
Status: resolved
Priority: 0/
Queue: File-Next

People
Owner: Nobody in particular
Requestors: BorisZentner
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.26
Fixed in: (no value)



Subject: CORE::die should be wrapped
HI, the default error_handler ( \&CORE::die ) looks wrong to me. Since I can not call it Here is my prove: borisz$ perl -e '$x = \&CORE::die; $x->()' Undefined subroutine &CORE::die called at -e line 1. And a fix is attached. -- Boris
Subject: file_next.patch
diff -Nur a/File-Next-0.26/Next.pm b/File-Next-0.26/Next.pm --- a/File-Next-0.26/Next.pm 2006-09-02 17:10:44.000000000 +0200 +++ b/File-Next-0.26/Next.pm 2006-09-05 11:12:57.000000000 +0200 @@ -132,7 +132,7 @@ my %files_defaults = ( file_filter => sub{1}, descend_filter => sub {1}, - error_handler => \&CORE::die, + error_handler => sub { CORE::die @_ }, ); sub files {
Thanks, fixed in Subversion.