>>>>> "np" == newbie01 perl <newbie01.p...@gmail.com> writes:
first off please edit the quoted part of posts. only keep the parts you are commenting or asking about. np> How do I exclude the command line argument from the "found" np> directories ... ??? Or would you recommend using File::Find::Rule np> to exclude that directory ... ??? np> The script is supposed to search within that directory but exclude np> that directory ... I just want to know if I can exclude it rather np> than going thru the entire array and search for an exact match of np> that command line argument ... i don't know exactly what you are trying to do. it is always important to be able to explain your goals in clear natural language. then you can translate that to code. but a simple answer is to just put a test inside the find sub so you don't push a file if it matches what is passed in @ARGV. uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/