On Thu, Aug 14, 2008 at 10:18 AM, via RT Andrew Billeb <perlbug-followup@perl.org> wrote: > # New Ticket Created by Andrew Billeb > # Please include the string: [perl #57926] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57926 > > > > I got the following error: > > Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.8.8/File/Find.pm line 822. > Can't use string ("") as a subroutine ref while "strict refs" in use at /usr/lib/perl5/5.8.8/File/Find.pm line 822. > > when I tried to run: > > find(\%options, @dirs); > > after mistakenly using: > > my %options = (no_chdir => 1); > > instead of: > > my %options = (no_chdir => 1, \&wanted => 1); > > This is perl, v5.8.8 built for i686-linux > Thank you for the report. I have a good idea what's happening, but it would help us out in reproducing your bug if you could provide a small piece of code based on your code that is failing. Thanks, Steve Peters steve@fisharerojo.orgThread Previous | Thread Next