Hi,

> Ahh, very good.  Thanks Rob (and Martin from earlier).  I think I 
> understand now.  It calls the wanted sub routine, populates the @files 
> array for each iteration.  Then when that completes the contents of the 
> array @files are printed. . .?
> 
> Matt
> 

you're right, Matt.
the name of the sub is missleading. perldoc File::Find said:

       The wanted function

       The "wanted()" function does whatever verifications you want on
       each file and directory.  Note that despite its name, the "wanted()"
       function is a generic callback function, and does not tell File::Find
       if a file is "wanted" or not.  In fact, its return value is ignored.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to