in reply to Process large text data in array
Turning a line of the format id_1=value|id_2=value|id_3=value|..... into a hash can be vastly simplified:
my $line = "id_1=value|id_2=value|id_3=value"; my %hash = split /[|=]/, $line;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Process large text data in array
by Corion (Patriarch) on Mar 10, 2015 at 14:51 UTC | |
by hdb (Monsignor) on Mar 10, 2015 at 14:56 UTC | |
by hankcoder (Scribe) on Mar 10, 2015 at 15:27 UTC | |
|
Re^2: Process large text data in array
by hankcoder (Scribe) on Mar 10, 2015 at 14:58 UTC | |
by hdb (Monsignor) on Mar 10, 2015 at 15:05 UTC |