You are close:
foreach $option ($dataoptions{$columns[$i]}) { print "We can deref all like this : @$option\n"; printf "Deref array elem->0 : %s and elem->1 : %s\n", $option->[0] +, $option->[1]; }
cheers
tachyon
In reply to Re: Foreach in a 2D array
by tachyon
in thread Foreach in a 2D array
by monoxide
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |