Hi,
I have to insert this sub into my site_html.pl but then i can't build anymore.
sub insert_advert {
my $ad = `/full/path/to/ad.cgi`;
$ad =~ s,Content-type:\stext/html//;
return $ad;
}
I get this error when i build:
Content-type: text/plain Error including libraries: Substitution pattern not terminated.
If i change:
$ad =~ s,Content-type:\stext/html//;
to
$ad =~ s,Content-type:\stext/html/,;
then i get this error:
Content-type: text/plain Error including libraries: Substitution replacement not terminated.
Your help would be really appreciated!
Thank you
I have to insert this sub into my site_html.pl but then i can't build anymore.
sub insert_advert {
my $ad = `/full/path/to/ad.cgi`;
$ad =~ s,Content-type:\stext/html//;
return $ad;
}
I get this error when i build:
Content-type: text/plain Error including libraries: Substitution pattern not terminated.
If i change:
$ad =~ s,Content-type:\stext/html//;
to
$ad =~ s,Content-type:\stext/html/,;
then i get this error:
Content-type: text/plain Error including libraries: Substitution replacement not terminated.
Your help would be really appreciated!
Thank you