System error

error:  Error during compilation of /www/auto.kp.ru/www/_inc/_rubricator.html:
HTML::Mason::Commands::get_menu_sections() called too early to check prototype at /www/auto.kp.ru/www/_inc/_rubricator.html line 43.

context: 
... 
39: 
40:  # Массивы для верхней и нижней полоски меню Разделов. Ф-ия throw_away_bw_section
41:  # обитает в lib/KP/Utils.pm. Отсюда передадим их в вызовы /_inc/_top.html
42:  # и в /_inc/_bot.html (чтобы два раза не загружать список разделов)
43:  $request->{rubricator}{$superpos} = get_menu_sections($superpos);
44:  my $top = $request->{rubricator}{$superpos};
45: 
46:  sub get_menu_sections($)
47:  {
... 
code stack:  /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:445
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1109
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1023
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1220
/www/auto.kp.ru/www/_inc/_top.html:269
/www/auto.kp.ru/www/autohandler:54
/www/auto.kp.ru/www/autohandler:9
raw error






























Error during compilation of /www/auto.kp.ru/www/_inc/_rubricator.html:
HTML::Mason::Commands::get_menu_sections() called too early to check prototype at /www/auto.kp.ru/www/_inc/_rubricator.html line 43.



Trace begun at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm line 845
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0xe7f77c8)', '/www/auto.kp.ru/www/_inc/_rubricator.html', 'HTML::Mason::Exception::Compilation=HASH(0xec43898)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm line 445
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0xe7f77c8)', '/_inc/_rubricator.html') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1109
HTML::Mason::Request::_fetch_comp('HTML::Mason::Request::ApacheHandler=HASH(0xe8a2bf8)', '/_inc/_rubricator.html', 'HTML::Mason::Component::FileBased=HASH(0xea43598)', 'SCALAR(0xea45a88)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1023
HTML::Mason::Request::fetch_comp('HTML::Mason::Request::ApacheHandler=HASH(0xe8a2bf8)', '/_inc/_rubricator.html', undef, 'SCALAR(0xea45a88)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1220
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xe8a2bf8)', '/_inc/_rubricator.html', 'position', 'top', 'superpos', 'up') called at /www/auto.kp.ru/www/_inc/_top.html line 269
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xea43598)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef) called at /www/auto.kp.ru/www/autohandler line 54
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0xe947b48)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef) called at /www/auto.kp.ru/www/autohandler line 9
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xe947be8)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xe8a2bf8)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xe8a2bf8)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xe7f7558)', 'Apache=SCALAR(0xe8b9818)') called at /www/auto.kp.ru/etc/modperl-auto.conf line 43
Auto::Mason::handler('Apache=SCALAR(0xe8b9818)') called at /dev/null line 0
eval {...} at /dev/null line 0