> I use a module called cgi-lib.pm which I have found a lot of sites use. the
> reason for using *main::input is that the module using readparse is designed
> to cope with most situations regarding url parsed data.
> http://cgi-lib.stanford.edu/cgi-lib/
> Does any one else disagree with using this, I have used it many times as
> many sites have used it. Its just a case of ease, and if this is old hat I'd
> rather move on to better stuff any comments

* No comments required, please read:
http://stein.cshl.org/WWW/software/CGI/cgi-lib_porting.html

* CGI.pm is aware of mod_perl environment and does lots of magic about it,
cgi-lib.pl is not. 


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 24 December 1999 17:38
> To: MOORHOUSE, John NW Group Risk
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: What am I doing wrong
> 
> 
> >>>>> "MOORHOUSE," == MOORHOUSE, John NW Group Risk
> <[EMAIL PROTECTED]> writes:
> 
> MOORHOUSE,> Is there any way of initialling a *main::input in one go
> MOORHOUSE,> i.e  *main::input=();     doesn't work
> 
> This is already heading down the dangerous path.  Why are you using
> a symbol-table variable if you don't want a symbol-table variable?
> 
> If you want something temporary:
> 
>         {
>                 local *main::input;
>                 $status = whatever->ReadParse(*main::input);
>                 ... use %main::input;
>         }
> 
> But the evilness of that ReadParse word is making me shudder already.
> That's so... uh... perl4-ish.
> 
> -- 
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
> training!
> 
> ********************************************************************
> This e-mail is intended only for the addressee named above.
> As this e-mail may contain confidential or privileged information,
> if you are not the named addressee, you are not authorised to
> retain, read, copy or disseminate this message or any part of it.
> ********************************************************************
> 
> 



_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to