On Wed, May 30, 2001 at 12:12:14PM -0700, cathair wrote:
> But when I attempt...<snip>:
>
> my $j;
> print "<form name="a_form">\n";
> print "<select name="pull_my_finger" size=1>\n";
>
> for($j = 0; $j <= $#array_name; $j++){
> print "<option>$array_name[$j]\n";
Is it printing empty <option>s?
Try:
print "<option>${array_name[$j]}\n";
Braces are helpful to make clear to Perl where the variable begins and
ends within quoted strings.
-Micah
- Re: [vox-tech] newbie perl question Micah Cowan
- Re: [vox-tech] newbie perl question Henry House
- Re: [vox-tech] newbie perl question Jay Strauss
- Re: [vox-tech] newbie perl question Henry House
- Re: [vox-tech] newbie perl question Jay Strauss
- Re: [vox-tech] newbie perl question cathair
- Re: [vox-tech] newbie perl question cathair
