if I have a hash that contains array refs as its values and I create a
reference for it, what are the different ways that i can access the information
in the array?
for example.
my %hash;
my @array = ('red','white','blue');
$hash{'foo'} = \@array;
my $hashREF = \%hash;
print ${${$hashREF}{'foo'}}[1];
now I know that will print "white". but is there another syntax that will get
me the same result and is a little easier to read?
-bob
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/