in reply to Re^3: Binding an array to a word
in thread Binding an array to a word

If you need hello to point to more than one array, you can do something like this:

$h = { 'hello' => [ [ 1, 2, 3, 4 ], [ 5, 6, 7, 8 ], ], };

To help you write the accompanying code...

exists( $h->{'hello'}) # checks if hello exists. scalar(@{$h->{'hello'}}) # The number of lists (2). $h->{'hello'}[1] # The second list ([5,6,7,8]). scalar(@{$h->{'hello'}[1]}) # The size of the second list (4). $h->{'hello'}[1][0] # The first num of second list (5).