Re: [PBML] File::Find and prune
I would like also to ask about if I need to return true of false in wanted
If I return 0 or 1 what is the impact of that to find?
I love having the feeling of being in control
while i have the sensation of speed
The surfer of life
GnuPG Key: FB1E6AE7
Fingerprint A9AE EA0C EE1F FBD0 5B6F 3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt
>>>>> "Pavlos" == Pavlos Parissis <p_pavlos@...> writes:Pavlos> I would like also to ask about if I need to return true of
Pavlos> false in wanted routine?
Pavlos> If I return 0 or 1 what is the impact of that to find?
The return value of "wanted" is ignored. At best, you can influence
directory descent by altering $File::Find::prune.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!