[freeside] Mason

Kristian Hoffmann khoff at pc-intouch.com
Wed Oct 3 16:43:32 PDT 2001


Again, nevermind.  Apache::ASP works fine, like the docs say.  Mason
smokes crack.

-Kristian

On Tue, 2 Oct 2001, Kristian Hoffmann wrote:

> Now using the handler.pl from htetc/, I'm getting a similar error on all
> the cgi scripts that are still the original cgi script wrapped in
> "<% ... %>".  According to the Mason docs, you can't load modules with use
> inside of the script.  Instead, you have to do it with Mason::Commands or
> something like that, which it looks like you're doing.  Does that mean
> these all need to be converted before they'll work, or am I still smokin'
> something?
> 
> error in file: /usr/local/etc/freeside/apache/mason/obj/browse/part_pkg.cgi 
> line 16: "use" not allowed in expression
> line 16: syntax error
> line 17: BEGIN not safe after errors--compilation aborted
> 
> context: ...
> 12:
> 13: $_out->(
> 14: #<!-- $Id: part_pkg.cgi,v 1.4 2001/09/04 14:44:06 ivan Exp $ -->
> 15:
> 16: use strict;
> 17: use vars qw( $cgi $p $part_pkg );
> 18: use CGI;
> ---SNIP---
> 
> 
> -Kristian
> 
> 
> 




More information about the freeside-users mailing list