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;
In reply to Re: Process large text data in array
by hdb
in thread Process large text data in array
by hankcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |