System error

error:  Error during compilation of /srv/www/crosbi/bib/prikazi-rad:
syntax error at /srv/www/crosbi/bib/prikazi-rad line 577, near ")"
BEGIN not safe after errors--compilation aborted at /srv/www/crosbi/bib/prikazi-rad line 848.

Stack:
[/srv/www/crosbi/bib/prikazi-rad:848]
[/usr/share/perl5/HTML/Mason/Interp.pm:820]
[/usr/share/perl5/HTML/Mason/Interp.pm:448]
[/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]
[/srv/www/crosbi/bib/prikazi-rad:848]

context: 
... 
573:  <& .PUNI_TEKT, file => $podaci{datoteka},
574:  datum => $podaci{datoteka_datum},
575:  print => $print &>
576:  <& .MEDIJ, medij_tiskani => $podaci{medij_tiskani},
577:  medij_cdrom => $podaci{medij_cdrom},
578:  medij_url => $podaci{medij_url},
579:  urls => $podaci{urls},
580:  print => $print &>
581:  <& .VLASNIK, vlasnik => $podaci{vlasnik},
... 
844:  $ime_polja
845:  $tekst
846:  </%args>
847:  % if ($tekst =~ /[a-zA-Z0-9]/) {
848: 
849:  % if ($ime_polja eq 'DOI') {
850:  % my $wos_id_doi = $tekst;
851:  % $tekst = '<a href="http://dx.doi.org/' . $tekst . '" target="_blank">' . $tekst . '</a>';
852: 
... 
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:
syntax error at /srv/www/crosbi/bib/prikazi-rad line 577, near ")"
BEGIN not safe after errors--compilation aborted at /srv/www/crosbi/bib/prikazi-rad line 848.

Stack:
  [/srv/www/crosbi/bib/prikazi-rad:848]
  [/usr/share/perl5/HTML/Mason/Interp.pm:820]
  [/usr/share/perl5/HTML/Mason/Interp.pm:448]
  [/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]
  [/srv/www/crosbi/bib/prikazi-rad:848]



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