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);
In reply to Re^2: keys and values
by Anonymous Monk
in thread keys and values
by waytoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |