Dan Anderson wrote:

> > If you explain why you need the %POST and %GET hashes specifically maybe we can 
> > help you do it the best way.
> > So whjat are you trying to accomplish with those hashes?
>
> Well it's mostly just readability of the code.

GET and POST do not in any way add to the readability of Perl code.  I can't think of 
anywhere that you would want
to actually code a GET, since it is the default mode for browser requests.  It should 
not be used for CGI, though
for reasons that have already been stated.  The POST belongs in your HTML, not in your 
Perl code.  Your variable
names should reflect the subject matter they are dealing with, not nuts-and-bolts 
technical detail.

>  That and I am learning
> from the O'Reilly book CGI Programming With Perl and they use their own
> parsers for form data.  So I got so far with my own creation and am
> wondering if it should be given the axe or continued.

If it's production code, give it the axe.  Your customers deserve better 
dependability.  If you are studying cause
and effect in programming, then all means continue your experiments in hand-rolling, 
being ready to discard your
prototypes oce you have learned enough from them.

> -Dan

What is it you are trying to do?  Please answer in real-world terms.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to