The method has been removed. From the docs:

Version 2.57
6. Removed use_named_parameters() because of dependency problems and general lameness. 

http://stein.cshl.org/WWW/software/CGI/

I think "param" is now the preferred method.

http://danconia.org

------------------------------------------------
On Tue, 10 Dec 2002 10:59:05 +0100, Kris Gaethofs <[EMAIL PROTECTED]> 
wrote:

> Hi,
> 
> I have this problem and don't immediately know the sollution. I would 
> like perl to use named parameters only while doing cgi scripting. To 
> force this I use the following code:
> 
> #!/opt/bin/perl -Tw
> 
> use CGI;
> use strict;
> 
> my $q = CGI->new();
> $q->use_named_parameters(1);
> 
> etc...
> 
> However, it doesn't work. Perl complains with the following code:
> 
> Undefined subroutine CGI::use_named_parameters
> 
> How does it work?
> 
> Greets,
> 
> Kris
> -- 
> -----------------------------------------
> Kris Gaethofs
> Labo Kwantumchemie
> Celestijnenlaan 200F
> B-3001 Heverlee (Leuven)
> Tel: +32 16 32 78 03 Fax: +32 16 32 79 92
> Email: [EMAIL PROTECTED]
> -----------------------------------------
> 
> 
> 
> -- 
> 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