perl-embperl mailing list archives

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

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?

Torsten <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message