I'm not experienced enough with embperl to instantly figure out the problem,
but my first debugging approach would be to print out all of %fdat and
figure out what it does contain. My personal preference to do that would be
use Data::Dumper;
print OUT Dumper %fdat;
If you've already tried something like that, and it really is empty, then
this is some sort of sinister, ugly persistence issue that I wouldn't know
how to deal with ... I'm used to that :)
--Jack
> -----Original Message-----
> From: Kaare Rasmussen [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 31, 2000 4:58 PM
> To: Embperl@Perl. Apache. Org
> Subject: fdat blues
>
>
> Once again I have a very strange problem.
>
> In my order form I have a construction like this
>
> [$ if (defined($fdat{order})) $]
> say thanks for the order
> [$ else $]
> have a form where there is a submit button called "order".
> [$endif$]
>
> Problem is, it works only part of the time. Seems that if I
> change this file
> (bestilling.epl), then %fdat turns up empty when I submit it
> through the order
> button. Then I get the form again. If I try again from the top,
> still the same.
> But if I insist and push the order button the second time (even
> the order is
> empty), then fdat is coming back with its data. And then it works
> for the time
> being; other orders can be made with no problem.
>
> --
> Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
> Kaki Data tshirts, merchandize Fax: 3816 2582
> Howitzvej 75 �ben 14.00-18.00 Email: [EMAIL PROTECTED]
> 2000 Frederiksberg L�rdag 11.00-17.00 Web: www.suse.dk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]