I'm attaching a file which demonstrates a bug in Embperl 2.0b8 -
2.0b9-dev3
When run via embpexec.pl, the html output contains '></select>' at the
end, which shouldn't be there.
ilia.
[-
%subjects = ( "Var1" => 'foo',
"Var2" => 'bar');
-]
[$ sub generate_subject_options $]
[$ foreach $name (sort keys %subjects) $]
<option value="[+ $subjects{$name} +]">[+ $name +]
[$ endforeach $]
[$ endsub $]
<form action="fwmailto.epl" method="post">
<select name="subject_id" ID="Lightbutton" size="3" width=60">
[- generate_subject_options() -]
</select>
<br>
<input type="submit" name="mailto" value="Mail To">
</form>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]