in reply to How can I store two values with the same key in a hash?
How can i store two Via in the two keys(Via and Via1) of hash. So that when i will give print $cnf{Via};
to$cnf{$c}=$_;
of course you may need a more complex setup such that entries that can only occur once are stored as plain scalars and entries that can occur multiple times are stored as arrayrefs.push @{ $cnf{$c} }, $_;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |