On Tue, 31 Jul 2001, Greg Matheson wrote:

> I'm NOT able to use this:
>       CREATING A NEW QUERY OBJECT FROM AN INPUT FILE
>         $query = new CGI(INPUTFILE);


> With the code:

> #!/usr/local/bin/perl -w

> use CGI;
> open (OUT,">/home/greg/test.out") or die "No open greg/test.out: $!";
> $p = new CGI;
> $p->param(-name=>'ID',-value=>'23423456');
> $p->save(OUT);
> close OUT;

> # reopen for reading
> open (IN,"/home/greg/test.out") or die "No params from test.out: $!\n";
> $q = new CGI("IN");

It turns out my problem was the CGI module. Using 'perl -MCPAN -e
"install CGI"', or whatever, may give you the latest, but not
necessarily the greatest. 

That is, my problem was that it installed version 3.02 for me,
which is only alpha or beta. The latest stable version is 2.753
or something. I had to install that by hand.


-- 
Greg Matheson               Learn a third language and 
Chinmin College,            be born again, again.
Taiwan                 

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

Reply via email to