in reply to Re^3: Error: Odd number of elements in anonymous hash
in thread Error: Odd number of elements in anonymous hash
#!/usr/bin/perl -- use strict; use warnings; my %foo = ( 1, 2 , 1, 3, 1, 3, 1, 2 ); my %bar = ( %foo, 1, 3 ); use Data::Dumper; print Dumper( \%foo, \%bar ); __END__ $VAR1 = { '1' => 2 }; $VAR2 = { '1' => 3 };
|
|---|