my @files = grep {-f} map {glob "$_/*vp.o$id"} qw/ archiv/;I figure the grep -f and the map are both not necessary.
my @files = glob {"archiv/*vp.o$id"};
In reply to Re^2: Need help understanding code snippet with "grep -f"
by Marshall
in thread Need help understanding code snippet with "grep -f"
by fifaltra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |