in reply to Odd number of elements error
my %h1 = ( 1, 2 ); # OK - same as ( 1 => 2) my %h2 = ( 1 ); # Not OK - make no sense
Is it important? I'd say it probably is. Something is happening in your data that you haven't anticipated. Go back to your data and find out what's causing the error.
|
|---|