_____________________________________________________my ($label, $value); my @top_align = qw(Left Center Right); while (@top_align) { $label = shift(@top_align); $value = $label; $value =~ tr/A-Z/a-z/; if ($value eq $image_align_top) { print qq|<td> <div align="center"> $label <input type="radio" name="image_align_t +op" value="$value" checked> </div> </td>|; } else { print qq|<td> <div align="center"> $label <input type="radio" name="image_align_t +op" value="$value"> </div> </td>|; } }
In reply to Re: Any Elegant Way to iterate through this hash?
by jerrygarciuh
in thread Any Elegant Way to iterate through this hash?
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |