System error

error:  Error during compilation of /srv/www/crosbi/bib/pretrazivanje_rezultat:
Global symbol "$bib" requires explicit package name 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:453
/usr/share/perl5/HTML/Mason/Request.pm:252
/usr/share/perl5/HTML/Mason/Request.pm:215
/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:351
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:874
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:828
(eval 26):8
-e:0
raw error






























Error during compilation of /srv/www/crosbi/bib/pretrazivanje_rezultat:
Global symbol "$bib" requires explicit package name at /srv/www/crosbi/bib/pretrazivanje_rezultat line 114.



Trace begun at /usr/share/perl5/HTML/Mason/Interp.pm line 854
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x55f34d64e010)', '/srv/www/crosbi/bib/pretrazivanje_rezultat', 'HTML::Mason::Exception::Compilation=HASH(0x55f34e1e9868)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 453
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x55f34d64e010)', '/pretrazivanje_rezultat') called at /usr/share/perl5/HTML/Mason/Request.pm line 252
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 235
HTML::Mason::Request::_initialize('HTML::Mason::Request::ApacheHandler=HASH(0x55f34e1a21c8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 215
HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler', 'error_format', 'html', 'error_mode', 'output', 'plugins', 'ARRAY(0x55f34e1a0a80)', 'interp', 'HTML::Mason::Interp=HASH(0x55f34d64e010)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55f34d4fc2f8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55f34e1a5378)', 'apache_req', 'Apache2::Request=SCALAR(0x55f34dd23d68)', 'container', 'HASH(0x55f34e1a0048)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 94
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandler', 'error_format', 'html', 'error_mode', 'output', 'plugins', 'ARRAY(0x55f34e1a0a80)', 'interp', 'HTML::Mason::Interp=HASH(0x55f34d64e010)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55f34d4fc2f8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55f34e1a5378)', 'apache_req', 'Apache2::Request=SCALAR(0x55f34dd23d68)', 'container', 'HASH(0x55f34e1a0048)') called at /usr/share/perl5/Class/Container.pm line 275
Class::Container::call_method('HTML::Mason::Interp=HASH(0x55f34d64e010)', 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x55f34d64e010)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55f34d4fc2f8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55f34e1a5378)', 'apache_req', 'Apache2::Request=SCALAR(0x55f34dd23d68)', 'container', 'HASH(0x55f34e1a0048)') called at /usr/share/perl5/Class/Container.pm line 353
Class::Container::create_delayed_object('interp', 'HTML::Mason::Interp=HASH(0x55f34d64e010)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55f34d4fc2f8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55f34e1a5378)', 'apache_req', 'Apache2::Request=SCALAR(0x55f34dd23d68)', 'container', 'HASH(0x55f34e1a0048)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 351
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x55f34d64e010)', 'comp', '/pretrazivanje_rezultat', 'args', 'ARRAY(0x55f34d4fc2f8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x55f34e1a5378)', 'apache_req', 'Apache2::Request=SCALAR(0x55f34dd23d68)') 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(0x55f34e1a5378)', 'Apache2::RequestRec=SCALAR(0x55f34dd17c88)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 828
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55f34e1a5378)', 'Apache2::RequestRec=SCALAR(0x55f34dd17c88)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x55f34dd17c88)') called at -e line 0
eval {...} at -e line 0