in reply to Re: Re: (crazyinsomniac) Re: Critique my First Script for me?
in thread Critique my First Script for me?

sometimes you might need to create more than one CGI object

I like and use the OO interface too, and I've heard the above statement before... Have you ever actually needed to create more than one CGI object? I don't believe I've *ever* seen anything like:

my $q1 = CGI->new; my $q2 = CGI->new;
Have you?

-Blake

Replies are listed 'Best First'.
Re: Re: Re: Re: (crazyinsomniac) Re: Critique my First Script for me?
by runrig (Abbot) on Sep 22, 2001 at 03:46 UTC
    Have you?

    I've seen it, and used it. Usually as a way to have one CGI object to set some parameters on (and retain the rest) so that I can print out various query strings for URL's (e.g., when you want page 1, page 2, etc., type links from a database query), and one CGI object to retain all of the original parameteters.