Hi
Is there a way to get File::Find to TOTALLY ignore a directory?? See
comments in code for what I mean:
----
find ( \&wanted, 'f:/users/user1');
sub wanted
{
## HERE: even though it returns when it sees a dir called
# with Profile, it comes right back to where it left of, in other
# words it still iterates thru the dircectory, it just skips the
processing of it.
# any way to tell it to skip/ignore the dir and it subdirs and files
TOTALLY??
# next has the same effect.
return if ($File::Find::dir =~ /Profile/i );
next unless ($File::Find::name =~ /.*\.pst$/);
print "$File::Find::name\n";
}
--
Thanks for any help,
Jim
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]