in reply to compilation errors

Im running perl on-line in the cgi-bin and all it says is that it aborted due to compilation errors, where do i get more specific error messages revised code
$xtemplate = join("", @xtemplate); @template = $xtemplate =~ /^(.*?)\*{4}filename.ext\*{4}/sg; push (@template, $xtemplate =~ /\*{4}filename.ext\*{4}(.*?)\*{4}title\ +*{4}/sg); push (@template, $xtemplate =~ /\*{4}title\*{4}(.*?)\*{4}headings\*{4} +/sg); push (@template, $xtemplate =~ /\*{4}headings\*{4}(.*?)/sg); for ($i=0; $i <= (@filenames-1); $i++) { open(FILE, ">@filenames[$i]") or die; print FILE QQ($temlate[0] $title[$i] $template[1] $heading[$i] $te +mplate[2] $stuff[$i] $template[3]); close(FILE); }

Replies are listed 'Best First'.
Re: Re: compilation errors
by tachyon (Chancellor) on Aug 22, 2001 at 03:57 UTC

    See my CGI Help Guide node for answers to this and a lot of other questions with recalcitrant CGI scripts.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Re: Re: compilation errors
by little (Curate) on Aug 22, 2001 at 03:42 UTC
    use strict;
    use warnings;

    Have a nice day
    All decision is left to your taste