T-Security Appliance: www.bb-5000.info
-------
> -Original Message-
> From: Torsten Luettgert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 03, 2004 3:44 PM
> To: [EMAIL PROTECTED]
> Cc: Luiz Fe
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'); -]
>
No, it doesn't work better this way (and yes, I omitted the erroneos ")"
from
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'); -]
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.
Hi,
I just hit another problem. I'd expect the following code
[- %fdat = ('number' => '0'); -]
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
>
> it seems this was the problem coz all vars that had my before then
> only got set once.
>
This is because you create a closure with this my's in EMbperl, because the
code is wrapped in a sub.
See the perlfaq for more information on closures
Gerald
--
At Fri, 12 Sep 2003 18:31:02 +0200, Hans de Groot wrote:
> at the top of my script I said : my $output
> it seems this was the problem coz all vars that had my before then
> only got set once.
you should avoid using [* *] unless you really understand how things
work.
the code you showed us earlie
okay sorrylem
it seems it's not an fdat problem
at the top of my script I said : my $output
it seems this was the problem coz all vars that had my before then only got set
once.
still strange but at least it works now.
Met vriendelijke groet,
Hans de
okay sorrylem
it seems it's not an fdat problem
at the top of my script I said : my $output
it seems this was the problem coz all vars that had my before then only got set
once.
still strange but at least it works now.
Met vriendelijke groet,
Hans de