foreach $i (map {glob} "COMFILE1.2008*")
You don't need to wrap a map around your glob.
$ ls copy1 copy2 file1 file2 file3 $ perl -le 'foreach $i ( glob q{c*} ) { print $i }' copy1 copy2 $
Cheers,
JohnGG
In reply to Re: greping thru a hash of arrays
by johngg
in thread greping thru a hash of arrays
by pglenski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |