I have an array
@exclude_dirs that I want my list of directories matched against, and if it
matches, then I want to go on to the next one. I thought I saw someone do
something like:
if( $line =~
/@exclude_dirs/ ) {
next;
}
Does that
work? My alternative is to just run through my exclude list every time
like:
foreach $dir
@exclude_dirs {
if $line =~ /$dir/ {
next;
}
}
Thanks for the
help!
-Mike
_____________________________
Michael D. Marziani
Systems Administrator
Keller Williams Realty
International
ATTENTION! The information
contained in this email may be CONFIDENTIAL and PRIVILEGED. It is intended for
the individual or entity named above. If you are not the intended recipient,
please be notified that any use, review, distribution or copying of this email
is strictly prohibited. If you have received this email by error, please delete
it and notify the sender immediately. Thank you.