[rt-devel] Odd Perl error

Jonas Liljegren jonas at rit.se
Sun Mar 30 14:31:32 EST 2003


Philip Warner <pjw at rhyme.com.au> writes:

> Forgot to mention I get this odd perl error with rt3:
>
>      Syntax error on line 588 of /etc/httpd/httpd_acheron.conf:
>      "args_method" is not exported by the HTML::Mason::ApacheHandler module
>       "CGI" is not exported by the HTML::Mason::ApacheHandler module
>      Can't continue after import errors at /usr/local/rt3/bin/webmux.pl line 47
>      BEGIN failed--compilation aborted at /usr/local/rt3/bin/webmux.pl line 52.
>      Compilation failed in require at (eval 60) line 1.


I got the same error.

  HTML::Mason v1.17
  HTML::Mason::ApacheHandler v1.69
  Class::Container v0.10 (or v0.07)
  perl 5.8.0


> it's fixed by replacing:
>
>      HTML::Mason::ApacheHandler->import( args_method => 'CGI' );
> with
>      use HTML::Mason::ApacheHandler;
>
> (but I assume I could delete it).

I commented the row out and apache started up.

-- 
jonas at rit.se   RIT AB   http://www.rit.se
Box 70, 428 21 Kållered Besök: G:a Riksvägen 36
Tel: +46 (0)31 751 8600  Fax: +46 (0)31 751 8609



More information about the Rt-devel mailing list