This dereferences your array - it is just a way to do it without having to save it to another variable first.foreach $option (@{$dataoptions{$columns[$i]}})
This makes it easier to read the HTML tag.print qq(<input type="radio" name="$columns[$i]" value="$option">$opti +on);
In reply to Re: Foreach in a 2D array
by geekgrrl
in thread Foreach in a 2D array
by monoxide
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |