perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Luettgert <t.luettg...@combox.de>
Subject Re: Another "auto-fill from %fdat" problem
Date Wed, 03 Nov 2004 14:43:45 GMT
On Mi, 2004-11-03 at 16:35, Luiz Fernando B. Ribeiro wrote:
> The %fdat hash is magical, since its a tied hash. I have not tried but
> does it work if you use the following instead?
> 
> [- $fdat{'number'} = '0'); -]
> <input type="text" name="number">

No, it doesn't work better this way (and yes, I omitted the erroneos ")"
from the code snippet :-)

Using "0 but true" works fine. Just 1, without '' around, too. It really
looks like the value is tested for truth, and the field cleared unless
it is true.

Greetings,
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