in reply to array in hash in hash access
With reference to accessing the data, the following construct is also valid:
$#{ expr_returning_arrayref }
The expr_returning_arrayref is useful in many situations. In an OO application, you might access your array size like this (somewhat contrived for the purpose of example):
my $size = @{ $self->get_disallowed_array };
Of course, the accessor method would probably use something along the lines of previous replies.
With reference to everything else, excellent replies above.
Regards,
PN5
|
|---|