You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File::Find in at least 5.005_02 and 5.005_03 gets very confused if you
pass find() multiple relative starting directories and the wanted() sub
prunes one of them. That's because it does a next in the main loop in
find_opt(), thus skipping the chdir back to the starting directory. I
believe this one-line patch will fix it:
Inline Patch
--- lib/File/Find.pm.orig Sat Oct 31 18:55:13 1998+++ lib/File/Find.pm Thu Aug 19 04:30:33 1999@@ -130,6 +130,7 @@
warn "Can't cd to $dir: $!\n";
}
}
+ } continue {
chdir $cwd;
}
}
Migrated from rt.perl.org#1233 (status was 'resolved')
Searchable as RT1233$
The text was updated successfully, but these errors were encountered: