in reply to Re: Learning about Arrays and Hashes - printing pieces of them
in thread Learning about Arrays and Hashes - printing pieces of them
I see my dog forgot to point to my hound.... I was missing the > pointing to hound. Thank you!
What happens when I try:
Does that just print "Buick" or does it print a 0? I didn't find a specific example of that so I was wondering how I find the value Buick.print $rec -> [Buick], "\n";
Could I do something like this:
Thank you!my $favoriteCar = $rec->{LOOKUP}[0]; print "My favorite car is ", $favoriteCar, "\n";
Raye Ann
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Learning about Arrays and Hashes - printing pieces of them
by NetWallah (Canon) on Jan 28, 2015 at 20:10 UTC |