in reply to add/replace map result into existing hash
It is not quite clear how you want your final structure to look like. Here is something untested:
my %h = map { $_ => [ `zcat $_ | sed 's/[<> ]//g'` ] } glob("*.gz"); chomp @$_ for values %h;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: add/replace map result into existing hash
by fredo2906 (Acolyte) on Feb 19, 2014 at 14:06 UTC |