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} }, $_;
In reply to Re: How can I store two values with the same key in a hash?
by blazar
in thread How can I store two values with the same key in a hash?
by sanjay nayak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |