Which can be written as my @dirs = map "/web/directory/$_", 'AA', 'BB', 'CC'; Which we can then embed in the function call: find(\&search, map "/web/directory/$_", 'AA', 'BB', 'CC'); :)my @dirs = ('/web/directory/AA', '/web/directory/BB', '/web/directory/ +CC',); find(\&search, @dirs);
Makeshifts last the longest.
In reply to Re^5: File Find question
by Aristotle
in thread File Find question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |