use Text::xSV; my $parser = Text::xSV->new( fh => \*SRC, sep => '|', ); my %prod; while ( my @row = $parser->get_row ) { $prod{ shift @row } = \@row; }
In reply to Re: Optimal way to read in pipe delimited files
by dragonchild
in thread Optimal way to read in pipe delimited files
by narashima
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |