in reply to Foreach in a 2D array
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);
|
---|