- or download this
#!/usr/bin/perl
use strict;
...
my %hash = split / /, $str;
print Dumper \%hash;
- or download this
Odd number of elements in hash assignment at test.pl line 7.
$VAR1 = {
...
'odd_element' => undef,
'two' => '2'
};
- or download this
#!/usr/bin/perl
use strict;
...
}
print Dumper \%hash;
- or download this
$VAR1 = {
'odd_element' => undef,
...
'two' => '2',
'three' => '3'
};