Mason error

error in file:   /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm
 
line 19:  Can't locate object method "new" via package "CGI"
context:  
... 
15:  use HTML::Mason::Config;
16:  use HTML::Mason::Resolver::File;
17:  use Params::Validate qw(:all);
18: 
19:  require Time::HiRes if $HTML::Mason::Config{use_time_hires};
20: 
21:  use HTML::Mason::MethodMaker
22:  ( read_only => [ qw( code_cache
23:  comp_root
... 
54:  current_time => 'real',
55:  data_cache_dir => '',
56:  data_dir => undef,
57:  dhandler_name => 'dhandler',
58:  die_handler => sub { Carp::confess($_[0]) },
59:  die_handler_overridden => 0,
60:  system_log_file => undef,
61:  system_log_separator => "\cA",
62:  max_recurse => 32,
... 
component stack:   /db/companies/view.mhtml
/db/companies/autohandler
/db/autohandler
code stack:   /var/lib/mason/obj/db/companies/autohandler:193
/var/lib/mason/obj/db/companies/autohandler:16
/var/lib/mason/obj/db/autohandler:14


raw_error




























raw error:
 






























error while executing /db/companies/view.mhtml:
Can't locate object method "new" via package "CGI" at /var/lib/mason/obj/db/companies/view.mhtml line 19.
 at /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm line 58
HTML::Mason::Interp::__ANON__('Can\'t locate object method "new" via package "CGI" at /var/l...') called at /var/lib/mason/obj/db/companies/view.mhtml line 19
HTML::Mason::Commands::__ANON__('id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x97fdb7c)', 'id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 652
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 652
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)', 'HTML::Mason::Component::FileBased=HASH(0x97fdb7c)', 'id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 317
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)') called at /var/lib/mason/obj/db/companies/autohandler line 193
HTML::Mason::Commands::__ANON__('id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9829a34)', 'id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 376
HTML::Mason::Request::call_self('HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)', 'SCALAR(0x982a19c)', 'SCALAR(0x9829c08)') called at /var/lib/mason/obj/db/companies/autohandler line 16
HTML::Mason::Commands::__ANON__('id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9829a34)', 'id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)', 'HTML::Mason::Component::FileBased=HASH(0x9829a34)', 'id', 1198, 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 317
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)', 'id', 1198) called at /var/lib/mason/obj/db/autohandler line 14
HTML::Mason::Commands::__ANON__('id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x969b8b8)', 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)', 'HASH(0x988ed74)', 'HTML::Mason::Component::FileBased=HASH(0x969b8b8)', 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)', '/db/companies/view.mhtml', 'id', 1198) called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0x96715c4)', 'Apache=SCALAR(0x9867ae0)', 'HTML::Mason::Request::ApacheHandler=HASH(0x9899fd4)', 'undef') called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x96715c4)', 'Apache=SCALAR(0x9867ae0)') called at /etc/apache-perl//mason_handler.pl line 48
HTML::Mason::handler('Apache=SCALAR(0x9867ae0)') called at /dev/null line 0
eval {...} called at /dev/null line 0