perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Luettgert <t.luettg...@pressestimmen.de>
Subject Another "auto-fill from %fdat" problem
Date Wed, 03 Nov 2004 14:29:26 GMT
Hi,

I just hit another problem. I'd expect the following code

[- %fdat = ('number' => '0'); -]
<input type="text" name="number">

to give me a text field with a pre-filled zero inside, but
instead I get an empty one. It works with values != 0, though.

Apparently $fdat{$fieldname} is only checked
for being "true". I suppose one can fix this in the syntax,
but the perlcode parts are beyond my comprehension.

Any help?

Thanks,
Torsten <t.luettgert@pressestimmen.de>


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message