Re: skip path prune
- From: "Mumia W." <mumia.w.18.spam+nospam.usenet@xxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 17:30:29 GMT
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.
.
- References:
- skip path prune
- From: weberw@xxxxxxxxxxxx
- skip path prune
- Prev by Date: Re: why is perl -e 'unlink(glob("*"))' so much faster than rm ?
- Next by Date: Re: Module::Build / version / cpan / tail chasing
- Previous by thread: skip path prune
- Index(es):