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: 22833
Status: resolved
Priority: 0/
Queue: File-Next

People
Owner: Nobody in particular
Requestors: BORISZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.28
Fixed in: (no value)



Subject: remove some unused lines of code
Hi, this patch remove some lines that look unsed to me. Just to prevent me to copy and paste the lines. -- Boris
Subject: fn_remove_unused.patch
diff -Nur a/Next.pm b/Next.pm --- a/Next.pm 2006-09-06 06:50:32.000000000 +0200 +++ b/Next.pm 2006-10-12 16:24:35.000000000 +0200 @@ -214,8 +214,6 @@ =cut -my %ups; - sub _candidate_files { my $parms = shift; my $dir = shift; @@ -226,7 +224,6 @@ return; } - %ups or %ups = map {($_,1)} File::Spec->no_upwards; my @newfiles; my $up = File::Spec->updir; my $cur = File::Spec->curdir;
Thanks for the fix. It's actually unfinished code, but I fixed it in the upcoming release.