On Mon, 15 Jan 2001 16:14:48 GMT, Michael wrote:
> su-2.03# ./admin.cgi syntax error at ./admin.cgi line 2636, near
> "sub Footer " syntax error at ./admin.cgi line 2645, near "}"
> Execution of ./admin.cgi aborted due to compilation errors.
Jeg tror du bliver nød til at vise noget af koden _før_ sub Footer:
virgil
$ perl -v | grep 'built for'
This is perl, v5.6.0 built for i386-linux
virgil
$ cat hep
sub Footer {
if ($footer_file) {
print "<HR>\n";
open (FOOTER,"$footer_file");
@footer = <FOOTER>;
close (FOOTER);
foreach $line (@footer) {
print "$line";
}
}
print "</BODY></HTML>\n";
reset 'A-Za-z';
exit;
}
virgil
$ perl -c hep
hep syntax OK
virgil
$
Mvh.
--
"Ni kan skratta om Ni vill Adam Sjøgren
Håna oss, vi rör oss, Ni står still" asjo@koldfront.dk