Odd Perl error

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.

it’s fixed by replacing:

 HTML::Mason::ApacheHandler->import( args_method => 'CGI' );

with
use HTML::Mason::ApacheHandler;

(but I assume I could delete it).

Philip Warner | ___
Albatross Consulting Pty. Ltd. |----/ -
(A.B.N. 75 008 659 498) | /(@)
Tel: (+61) 0500 83 82 81 | _________
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / |
| –
___–
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

Philip Warner pjw@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@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