(no subject)

Date: 2006-11-27 06:32 pm (UTC)
mneme: (0)
From: [personal profile] mneme
Depends on what was going on -- was it mixing get and post, frex? CGI.pm will happily parse both get and post -- but on a post request, it will only make the post options available -- the query string options (if also existent -- usually because they're in the form action) will be parsed but not made accessable unless requested. Not sure what else would generate the behavior described.

Perl is actually a remarkably elegant language -- for one that's as big as it is. (that said, there's a lot of accumulated cruft, some of which isn't really as useful as originally intended -- like the mutating funny characters on the beginnings of variables, and the related differences in the syntax for accessing a thing and for accessing a reference to the very same thing. Much of this will change in perl 6).

But CGI.pm is a bloated and over-ambitious tool, and one I'd not normally recommend using -- you're better off using a smaller CGI library that doesn't try to also handle HTML creation -- or just jump to mod perl, depending on your platform.
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

jducoeur: (Default)
jducoeur

June 2025

S M T W T F S
12 34567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags