References quick reference#!/usr/bin/perl -- use strict; use warnings; my $hash = { one => [ 1], two => [ 2], }; $hash->{one}[2] = "three"; use Data::Dumper; print Dumper($hash); __END__ $VAR1 = { 'one' => [ 1, undef, 'three' ], 'two' => [ 2 ] };
In reply to Re: Array in a Hash
by Anonymous Monk
in thread Array in a Hash
by g_speran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |