On Wed, 03 Nov 2004 15:29:26 +0100, Torsten Luettgert <[EMAIL PROTECTED]> wrote:
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?
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">
-- Luiz Fernando B. Ribeiro Engenho Soluções para a Internet +55 11 4485-0136
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]