Re: skip path prune



On 07/17/2006 11:34 AM, weberw@xxxxxxxxxxxx wrote:
How do you use the prune function to skip a printing all of the
contents of a folder? [...]

Prune is not a function but a variable. Inside your wanted function, if you see a directory that you don't want to look inside, set $File::Find::prune to '1' to skip its contents.

.