CGI.pm parsing odity
- From: FrankB <you.can@xxxxxxxxxxx>
- Date: Tue, 16 May 2006 16:01:55 +0200
Hello.
With CGI.pm Oo_style coding,
I use a form with GET method, it parses a textfield with name attribute:
"participant".
I validate that parameter with Perl's substitute and match handlers in order to make a file in "/tmp/SOMEDIR/" with names like :
"participant.scorefile".
In that file i regulary use the CGI function save() to save the satus of
the form and it writes away an annoying trainling "=".
$]cat /tmp/SCORES/JohnDoe.sorefile
gives this :
participant=JohnDoe
=
That is "$query save(FHANDLE);" right after the participant puts his name, so, the *wanted* dated is in there but I don't know where Perl gets that empty form parameter, is it even empty form data ? Is it an assignment ? Why this trailing "=" sign ?
Thanks
--
FrankB
.
- Follow-Ups:
- Re: CGI.pm parsing odity
- From: Randal L. Schwartz
- Re: CGI.pm parsing odity
- From: xhoster
- Re: CGI.pm parsing odity
- Prev by Date: Re: How do I trap DBI errors?
- Next by Date: Re: Problem with Win32::API and pointers
- Previous by thread: How do I trap DBI errors?
- Next by thread: Re: CGI.pm parsing odity
- Index(es):