On Tue, 31 Jul 2001, Greg Matheson wrote:

> #!/usr/local/bin/perl -w
>
> use CGI;
>
> # set a parameter and save it in a file
> 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;

Is this code exactly the same that you are running?  Because you are not
attaching the new CGI object to a file here (should be $q = new CGI(IN):,
right?)

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Many are called, few volunteer.


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

Reply via email to