Todd,
    Oh you mean like this:
--------------------------------
    my(@pairs) = split('&',$tosplit);
    my($param,$value);
    foreach (@pairs) {
        ($param,$value) = split('=',$_,2);
        $param = unescape($param);
        $value = unescape($value);
        $self->add_parameter($param);
        push (@{$self->{$param}},$value);
    }
--------------------------------
First, the above code is strait out of CGI.pm sir.  So if you feel that its wrong, you 
might try
telling that to the creator of CGI.pm
Second, If you don't have any suggestions on how to do something you might as well 
bite your tongue.
Unabashed criticism lacking a solution benefits nobody.

So, if you have recommendations, feel free to send them to me.  If you simply want to 
tell me that
I'm wrong, don't bother.

Regards,
David


----- Original Message -----
From: "Todd Wade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 6:13 PM
Subject: Re: Form.pm


[EMAIL PROTECTED] wrote:

> sub parse_form_input($){
> my $input = shift;

I told you already.....
> my @variables = split(/\&/, $input);
this is wrong!!!

Todd W.

--
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]

Reply via email to