in reply to Re:Need help understanding code snippet with "grep -f"
in thread Need help understanding code snippet with "grep -f"
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"};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Need help understanding code snippet with "grep -f"
by afoken (Chancellor) on Dec 23, 2015 at 09:20 UTC | |
by Marshall (Canon) on Dec 23, 2015 at 09:49 UTC | |
|
Re^3: Need help understanding code snippet with "grep -f"
by GrandFather (Saint) on Dec 23, 2015 at 08:47 UTC | |
by Marshall (Canon) on Dec 23, 2015 at 09:28 UTC |