System error

error:  Error during compilation of /srv/www/crosbi/bib/pretrazivanje_rezultat:
Global symbol "$bib" requires explicit package name (did you forget to declare "my $bib"?) at /srv/www/crosbi/bib/pretrazivanje_rezultat line 114.

context: 
... 
110:  @patts = split (/,/,$patt);
111:  push (@patts,@xpatts);
112: 
113:  $sql = "SELECT mb,ime,prezime FROM znanstvenici WHERE prezime ~* ? ORDER BY prezime,ime,mb";
114:  $sth = $bib -> prepare($sql);
115:  foreach $patt (@patts)
116:  {
117:  if ($lang =~ /en/i)
118:  {
... 
code stack:  /usr/share/perl5/HTML/Mason/Interp.pm:450
/usr/share/perl5/HTML/Mason/Request.pm:250
/usr/share/perl5/HTML/Mason/Request.pm:212
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:94
/usr/share/perl5/Class/Container.pm:275
/usr/share/perl5/Class/Container.pm:353
/usr/share/perl5/HTML/Mason/Interp.pm:348
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:874
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:828
(eval 28):8
-e:0
raw error






























Error during compilation of /srv/www/crosbi/bib/pretrazivanje_rezultat:
Global symbol "$bib" requires explicit package name (did you forget to declare "my $bib"?) at /srv/www/crosbi/bib/pretrazivanje_rezultat line 114.



Trace begun at /usr/share/perl5/HTML/Mason/Interp.pm line 851
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x55a7f1be5e58)', '/srv/www/crosbi/bib/pretrazivanje_rezultat', 'HTML::Mason::Exception::Compilation=HASH(0x55a7f1bd8b90)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 450
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x55a7f1be5e58)', '/pretrazivanje_rezultat') called at /usr/share/perl5/HTML/Mason/Request.pm line 250
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 232
HTML::Mason::Request::_initialize('HTML::Mason::Request::ApacheHandler=HASH(0x55a7f1bf5048)') called at /usr/share/perl5/HTML/Mason/Request.pm line 212
HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler', 'plugins', 'ARRAY(0x55a7f1be5d08)', 'error_mode', 'output', 'error_format', 'html', 'interp', 'HTML::Mason::Interp=HASH(0x55a7f1be5e58)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55a7f16e1c88)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55a7f15fca48)', 'apache_req', 'Apache2::Request=SCALAR(0x55a7f094c7f0)', 'container', 'HASH(0x55a7f1be5420)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 94
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandler', 'plugins', 'ARRAY(0x55a7f1be5d08)', 'error_mode', 'output', 'error_format', 'html', 'interp', 'HTML::Mason::Interp=HASH(0x55a7f1be5e58)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55a7f16e1c88)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55a7f15fca48)', 'apache_req', 'Apache2::Request=SCALAR(0x55a7f094c7f0)', 'container', 'HASH(0x55a7f1be5420)') called at /usr/share/perl5/Class/Container.pm line 275
Class::Container::call_method('HTML::Mason::Interp=HASH(0x55a7f1be5e58)', 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x55a7f1be5e58)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55a7f16e1c88)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55a7f15fca48)', 'apache_req', 'Apache2::Request=SCALAR(0x55a7f094c7f0)', 'container', 'HASH(0x55a7f1be5420)') called at /usr/share/perl5/Class/Container.pm line 353
Class::Container::create_delayed_object('interp', 'HTML::Mason::Interp=HASH(0x55a7f1be5e58)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55a7f16e1c88)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55a7f15fca48)', 'apache_req', 'Apache2::Request=SCALAR(0x55a7f094c7f0)', 'container', 'HASH(0x55a7f1be5420)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 348
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x55a7f1be5e58)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55a7f16e1c88)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55a7f15fca48)', 'apache_req', 'Apache2::Request=SCALAR(0x55a7f094c7f0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 874
eval {...} at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 873
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0x55a7f15fca48)', 'Apache2::RequestRec=SCALAR(0x55a7f0d64f98)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 828
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55a7f15fca48)', 'Apache2::RequestRec=SCALAR(0x55a7f0d64f98)') called at (eval 28) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x55a7f0d64f98)') called at -e line 0
eval {...} at -e line 0