Hi,

no problem :

this line is in the OpenCA::TRIStateCGI::newInput function
(line 112 in the version 1.02 of the script)

example of parameter (from "request" script of the Secure webserver) :

my $tristate        = new OpenCA::TRIStateCGI;

my %par1 = (   -regx=>'*',
            -intype=>'hidden',
            -name=>'operation',
            -value=>'client-filled-form');

my $operation  = $tristate->newInput ( %par1 );



After the call we have $operation =
<INPUT TYPE="hidden" NAME="operation" VALUE="client-filled-form">

Apparently the " $ret = $self->$type(@_);  " line does all the job, no ?
Is it a command from the original CGI script ?

should I use something like that :

my $cgi = new CGI;
$ret = $CGI->$type(@_);  ???


Thanks for you help

Stéphane



-----Message d'origine-----
De : Massimiliano Pala [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 2 mai 2001 14:46
À : [EMAIL PROTECTED]
Objet : Re: [OpenCA-Devel] Question about TriStateCGI script


Riviere Stéphane wrote:
> 
> Hi,

Hi,

> I'm working on a Win32 port of OpenCA and I have a question about the
> TriStateCGI perl module...

:-D
 
> Everything works perfectly fine under Linux but the command :
> 
> $ret = $self->$type(@_);  (that appears in the newInput function)
> 
> fails under Windows...

Can you please report the line number in the TRIStateCGI.pm file and
wich is the calling function (from where and with wich parameters,
if possible) ?? It's been quite a long time since I got my hands on
that module... :-D

-- 

C'you,

        Massimiliano Pala

--o-------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager]                [EMAIL PROTECTED]
                                                     [EMAIL PROTECTED]
http://www.openca.org                            Tel.:   +39 (0)59  270  094
http://openca.sourceforge.net                    Mobile: +39 (0)347 7222 365

_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to