in reply to Re: keys and values
in thread keys and values
This is not a hash table. This is a series of assignments of values to four independent variables. At most, this looks like an array broken up into pieces ...
It's most likely this:
use Data::Dumper; my %hash = ( key_1 => 'value_1', key_2 => 'value_2' ); print Dumper(%hash); __END__ $VAR1 = 'key_2'; $VAR2 = 'value_2'; $VAR3 = 'key_1'; $VAR4 = 'value_1';
Better would have been print Dumper(\%hash);
|
|---|