hth$ mkdir a $ chmod -r a $ cat ff.pl #!/usr/bin/perl use warnings; use strict; use File::Find; #no warnings 'File::Find'; find({ wanted => \&wanted }, '.'); sub wanted { /^myscript$/ && print "$_\n" } $ perl ff.pl Can't opendir(./a): Permission denied at ff.pl line 8
In reply to Re: File::Find managing the %options versus \&wanted dichotomy
by bmann
in thread File::Find managing the %options versus \&wanted dichotomy
by anonymized user 468275
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |