Re: CGI.pm parsing odity
- From: FrankB <you.can@xxxxxxxxxxx>
- Date: Thu, 18 May 2006 14:17:54 +0200
on 16/05/2006, Randal L. Schwartz supposed :
"FrankB" == FrankB <you.can@xxxxxxxxxxx> writes:
In that file i regulary use the CGI function save() to save the satus of the form and it writes away an annoying trainling "=".
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 FrankB> trailing "=" sign ?
That's "Boulder" format.
Thanks for that hint :)
It's the format of some key/value pair thingyThat is it, STDOUT being a FILEHANDLE but yup, that how it cats.
used in the Human Genome Project.
$ perl -MCGI -e 'CGI->new("a=b&c=d&c=e")->save(\*STDOUT);'
a=b
c=d
c=e
=
$
So yes, that trailing = is a sign that all data has been read, apparently.
Not an assignment, not an empty key=value pair.. just a naked, lonely equation/equal sign.. aslike "EOF" or "__END__" ?
--
FrankB
.
- References:
- CGI.pm parsing odity
- From: FrankB
- Re: CGI.pm parsing odity
- From: Randal L. Schwartz
- CGI.pm parsing odity
- Prev by Date: Re: CGI.pm parsing odity
- Next by Date: Re: New module namespace
- Previous by thread: Re: CGI.pm parsing odity
- Next by thread: Re: Naming consultation request (proposed Geo::ReadGRIB)
- Index(es):