What happens when you Dumper(%hash) is that %hash gets turned into a list of key/value pairs which are then passed to Data::Dumper as if you had written Dumper("key1","value1","key2","value2",...), and it then prints each individually. The best workaround is usually to write Dumper(\%hash) instead, since a reference to a hash won't get "flattened" this way.
(Update before posting: roboticus beat me to it :-) )
By the way, the code %l_pa = (%l_pa, $value); doesn't make much sense to me, but I'm not sure what its intention is because you haven't provided an SSCCE, perhaps you could do that so we can be of more help? Just a guess: perhaps you meant to dereference the hash reference with %$value?
Minor edits.
In reply to Re: Unable to create HASH type
by haukex
in thread Unable to create HASH type
by anjultyagi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |