I was modifying nph-build for a custom project on my website. Anyway I kept getting a 500 error everytime I did a build all and couldn't figure out why. So I ran it in telnet and it compiled. I then did a perl -w, and what I discovered was a colon should have been a semicolon in a print statement of the build_all subroutine. Is this just a fluck, or is there supposed to be a colon. I thought that a print qq| had to end like this |;
$use_html ?
print qq|<html><head><tittle>Links Manager: Building Pages</title></head>
<BASE TARGET="_top">
<BODY BGCOLOR=#FFFFFF><H2><TT>Building Pages</TT></H2>
<PRE>| : Shouldn't this be a semicolon
print qq|Building Pages\n|;
print "Pages built on " . $date . " at " . $time . "\n";
print "--------------------------------------------------------\n\n";Thanks,
Paul
http://www.fullmoonshining.com for Pearl Jam Fans
Code:
# Print HTML Header $use_html ?
print qq|<html><head><tittle>Links Manager: Building Pages</title></head>
<BASE TARGET="_top">
<BODY BGCOLOR=#FFFFFF><H2><TT>Building Pages</TT></H2>
<PRE>| : Shouldn't this be a semicolon
print qq|Building Pages\n|;
print "Pages built on " . $date . " at " . $time . "\n";
print "--------------------------------------------------------\n\n";
Paul
http://www.fullmoonshining.com for Pearl Jam Fans