System error

error:  Error during compilation of /srv/www/crosbi/bib/prikazi-rad:
"my" variable $komentar masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 499.
"my" variable $napomena masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 1564.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1121, near ")"
(Might be a runaway multi-line '' string starting on line 1119)
Global symbol "$print" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 823.
Global symbol "$print" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 826.
Global symbol "$print" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 831.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 838, near "},"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 842, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 485, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1242, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1551, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1141, near "}"
/srv/www/crosbi/bib/prikazi-rad has too many errors.
context: 
... 
481:  </%def>
482: 
483:  % # ================= #
484: 
485:  <%def __KNJIGA>
486:  <%args>
487:  %podaci
488:  $print => ''
489:  </%args>
... 
495:  % }
496:  <& .NASLOV, naslov => $podaci{naslov},
497:  title => $podaci{title},
498:  jezik => $podaci{jezik} &>
499:  <& .VRSTAKNJIGE, vrstaknjige => $podaci{vrsta_knjige} &>
500:  <& .POLJE, ime_polja => "$prijevod_ar[18]",
501:  tekst => $podaci{formalni_urednik} &>
502:  <& .POLJE, ime_polja => "$prijevod_ar[19]", tekst => $podaci{nakladnik} &>
503:  <& .POLJE, ime_polja => "$prijevod_ar[20]", tekst => $podaci{grad} &>
... 
819:  <& .POLJE, ime_polja => "$prijevod_ar[10]",
820:  tekst => $podaci{projekt} &>
821:  <& .POLJE, ime_polja => "$prijevod_ar[11]", tekst => $podaci{jezik} &>
822:  <& .ZPODRUCJE, podr => $podr, print => $print &>
823:  <& .PUNI_TEKT, file => $podaci{datoteka},
824:  datum => $podaci{datoteka_datum},
825:  print => $print &>
826:  <& .MEDIJ, medij_tiskani => $podaci{medij_tiskani},
827:  medij_cdrom => $podaci{medij_cdrom},
828:  medij_url => $podaci{medij_url},
829:  urls => $podaci{urls},
830:  print => $print &>
831:  <& .VLASNIK, vlasnik => $podaci{vlasnik},
832:  datum_upisa => $podaci{datum_upisa} &>
833:  <& .NAPOMENA, napomena => $podaci{napomena} &>
834:  </%def>
835: 
836:  % # ==================================================================== #
837: 
838:  % # ================= #
839:  % # ZAJEDNICKA POLJA
840:  % # ================= #
841: 
842:  <%def .POLJE>
843:  <%args>
844:  $ime_polja
845:  $tekst
846:  </%args>
... 
1117: 
1118:  <tr valign="top">
1119:  <td align="right" class="brownnaslov1" valign="top" width="22%"><b><% $prijevod_ar[86] %></b></td>
1120:  <td align="left" class="text"><% $vlasnik %>, <% $dat %></td>
1121:  </tr>
1122: 
1123:  % }
1124:  </%def>
1125: 
... 
1137:  </tr>
1138: 
1139:  % }
1140:  </%def>
1141: 
1142:  % # ================= #
1143: 
1144:  <%def .ISPRAVAK>
1145:  <%args>
... 
1238:  </tr>
1239: 
1240:  </%def>
1241: 
1242: 
1243:  % # ================= #
1244: 
1245:  <%def .LOCK>
1246:  <%args>
... 
1547:  </tr>
1548: 
1549:  </%def>
1550: 
1551:  % # ================= #
1552:  % # OSTALO
1553:  % # ================= #
1554:  % # PATENT
1555:  % # ================= #
... 
1560:  $grad
1561:  $drzava
1562:  </%args>
1563:  <%perl>
1564:  if (($grad = ~/[a-zA-Z0-9]/)&&($drzava =~ /[a-zA-Z0-9]/)) { $autori .= "<br /> $grad, $drzava"; }
1565:  elsif ($grad = ~/[a-zA-Z0-9]/) { $autori .= "<br /> $grad"; }
1566:  elsif ($drzava =~ /[a-zA-Z0-9]/) { $autori .= "<br /> $drzava"; }
1567:  </%perl>
1568: 
... 
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/prikazi-rad:
"my" variable $komentar masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 499.
"my" variable $napomena masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 1564.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1121, near ")"
  (Might be a runaway multi-line '' string starting on line 1119)
Global symbol "$print" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 823.
Global symbol "$print" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 826.
Global symbol "$print" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 831.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 838, near "},"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 842, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 485, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1242, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1551, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1141, near "}"
/srv/www/crosbi/bib/prikazi-rad has too many errors.


Trace begun at /usr/share/perl5/HTML/Mason/Interp.pm line 854
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x5613a4ad6878)', '/srv/www/crosbi/bib/prikazi-rad', 'HTML::Mason::Exception::Compilation=HASH(0x5613a6410660)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 453
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x5613a4ad6878)', '/prikazi-rad') 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(0x5613a5520560)') called at /usr/share/perl5/HTML/Mason/Request.pm line 215
HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler', 'error_mode', 'output', 'error_format', 'html', 'plugins', 'ARRAY(0x5613a4a51368)', 'interp', 'HTML::Mason::Interp=HASH(0x5613a4ad6878)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5613a5ac93c8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x5613a551f428)', 'apache_req', 'Apache2::Request=SCALAR(0x5613a56fdf50)', 'container', 'HASH(0x5613a46064c0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 94
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandler', 'error_mode', 'output', 'error_format', 'html', 'plugins', 'ARRAY(0x5613a4a51368)', 'interp', 'HTML::Mason::Interp=HASH(0x5613a4ad6878)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5613a5ac93c8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x5613a551f428)', 'apache_req', 'Apache2::Request=SCALAR(0x5613a56fdf50)', 'container', 'HASH(0x5613a46064c0)') called at /usr/share/perl5/Class/Container.pm line 275
Class::Container::call_method('HTML::Mason::Interp=HASH(0x5613a4ad6878)', 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x5613a4ad6878)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5613a5ac93c8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x5613a551f428)', 'apache_req', 'Apache2::Request=SCALAR(0x5613a56fdf50)', 'container', 'HASH(0x5613a46064c0)') called at /usr/share/perl5/Class/Container.pm line 353
Class::Container::create_delayed_object('interp', 'HTML::Mason::Interp=HASH(0x5613a4ad6878)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5613a5ac93c8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x5613a551f428)', 'apache_req', 'Apache2::Request=SCALAR(0x5613a56fdf50)', 'container', 'HASH(0x5613a46064c0)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 351
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x5613a4ad6878)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5613a5ac93c8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x5613a551f428)', 'apache_req', 'Apache2::Request=SCALAR(0x5613a56fdf50)') 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(0x5613a551f428)', 'Apache2::RequestRec=SCALAR(0x5613a5764100)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 828
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x5613a551f428)', 'Apache2::RequestRec=SCALAR(0x5613a5764100)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x5613a5764100)') called at -e line 0
eval {...} at -e line 0