Again, this is likely a syntax error far more upwards in the source code.
Reduce your code and/or restore the original version from backup.
As a first step, I recommend changing all double quotes to be seen by Perl to a qq construct:
$string .= qq{<a href=\"/cgi-bin/recordz.cgi?ng=$lang&page=main&se
+ssion=$session_id&min_index_our_selection=$min_index&max_inde
+x_our_selection=$max_index&country_swiss=$country_swiss&count
+ry_france=$country_france&with_lang_french=$with_lang_french&with
+_lang_german=$with_lang_german&with_lang_italian=$with_lang_itali
+an&with_lang_english=$with_lang_english\" ><-$j-></a> 
+};
That way, if you have an unescaped double quote within that string, it will do no harm to the Perl code.
In the long run, you might want to use a templating system (for example Template::Toolkit or the one from Mojolicious) instead of having HTML strings within your source code. |