in reply to Can a single key have different value assigned to it
orpush @{ $info{lastnames} }, $lastname;
my @records; ... { my %info; my ... = split /\|/, $line; push @records, \%info; }
more on this in perlintro, the basic datatypes, three, Arrays: A Tutorial/Reference, Lexical scoping like a fox, references quick reference
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can a single key have different value assigned to it
by mangrove (Acolyte) on Apr 19, 2012 at 07:11 UTC | |
by Lady_Aleena (Priest) on Apr 19, 2012 at 07:21 UTC | |
by Anonymous Monk on Apr 19, 2012 at 07:24 UTC |