afmook
10-20-2005, 04:19 AM
$z =~ s/<!-- process login_status -->/<a href=\"\/cgi-bin\/logout.cgi\">Logout</a>/gi";
is causing
syntax error at basic.cgi line 50, near "s/<!-- process errors -->/<a href=\"\/cgi-bin\/logout.cgi\">Logout</a"
Can't figure out why. I tried it without escaping the /'s as well, no luck.
is causing
syntax error at basic.cgi line 50, near "s/<!-- process errors -->/<a href=\"\/cgi-bin\/logout.cgi\">Logout</a"
Can't figure out why. I tried it without escaping the /'s as well, no luck.