RE: Another "auto-fill from %fdat" problem

2004-11-03 Thread Gerald Richter
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

Re: Another "auto-fill from %fdat" problem

2004-11-03 Thread Torsten Luettgert
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

Re: Another "auto-fill from %fdat" problem

2004-11-03 Thread Luiz Fernando B. Ribeiro
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.

Another "auto-fill from %fdat" problem

2004-11-03 Thread Torsten Luettgert
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

Re: fdat problem

2003-10-02 Thread Gerald Richter
> > 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 --

Re: fdat problem

2003-09-13 Thread Angus Lees
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

fdat problem

2003-09-12 Thread Hans de Groot
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

fdat problem

2003-09-12 Thread Hans de Groot
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