in reply to problems dereferencing an array of arrays as a hash value
Do you really want to inject spaces between array elements here? If not, get rid of the quotes.{ $tlvHash{pktClassList} = "@pktClassList" }
Try to eliminate the switch/case statement for debugging purposes, as Switch has many unusual side-effects.
Show your data using Data::Dumper. That might clarify things:
use Data::Dumper; print Dumper(\%tlvHash);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problems dereferencing an array of arrays as a hash value
by Anonymous Monk on Nov 24, 2009 at 10:23 UTC |