[Zope-Perl] using CGI.pm under perl/zope

Andy McKay andym@ActiveState.com
Mon, 13 Aug 2001 09:07:17 -0700


You cant call use from a Script (Perl) but you can from a Script (Perl,
Unresricted). This is similar to an External Methods. There you can use
CGI.pm to your hearts content.

Cheers.
--
  Andy McKay.


----- Original Message -----
From: "Carl David" <david@uconnvm.uconn.edu>
To: <zope-perl@zope.org>
Sent: Thursday, August 02, 2001 12:52 PM
Subject: [Zope-Perl] using CGI.pm under perl/zope


> We have a large number of perl programs which use CGI.pm to deliver web
> pages under Apache uding cgi-bin. In migrating to Zope, I think I
> discovered that the perl programs have to have the .py extension, have
> to be stored in /Extensions and that's as far as it goes. The scripts
> fail on the "use CGI;" line.
> The archives suggest that "use" is forbidden. If that is so, is there a
> workarround? Or are we stuck with abandoning CGI.pm?
> Thanks for any help.
> Carl David
>
>
> _______________________________________________
> Zope-perl maillist  -  Zope-perl@zope.org
> http://lists.zope.org/mailman/listinfo/zope-perl
>