renee has asked for the wisdom of the Perl Monks concerning the following question:
find(\&getpm, "$fpath"); sub getpm { if ($File::Find::name =~/readme.txt/) { print "$File::Find::name\n"; else { print "File not Found"; exit(0); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Searching for files
by slayven (Pilgrim) on Mar 19, 2001 at 08:43 UTC | |
|
(dkubb) Re: (2) Searching for files
by dkubb (Deacon) on Mar 19, 2001 at 08:57 UTC | |
|
Re: Searching for files
by ColonelPanic (Friar) on Mar 19, 2001 at 08:43 UTC |