On Jan 1, 2015, at 4:08 PM, $Bill wrote:
> You can always separate the two, eg:
> 
>               my $find = "find $dir_to_search" .
>                 '-name cache -prune' .
>                 '-o -name tmp -prune' .
>                 '-o -name session -prune' .
>                 '-o -print';
> 
>               @files = map {  s|/home/user/public_html||; $_; } `$find`;

        We have ourselves a winner! :)  Thanks, Bill.  After I realized that 
you could put a variable between backticks, that's exactly what I did.  Too 
much eggnog here this week, I guess!

On Jan 1, 2015, at 4:04 PM, Shawn H Corey wrote:
> File::Find::Rule is easier to use.
> https://metacpan.org/pod/File::Find::Rule

        Thanks, Shawn.  I'll check it out over the weekend.

Happy New Year!
Frank

SurfShopCART
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to