Gossamer Forum
Home : Products : Links 2.0 : Discussions :

nph-build, missing semicolon

Quote Reply
nph-build, missing semicolon
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 |;

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";
Thanks,
Paul

http://www.fullmoonshining.com for Pearl Jam Fans
Quote Reply
Re: nph-build, missing semicolon In reply to
In Reply To:
<PRE>| : Shouldn't this be a semicolon
Yes...it should be |;...no space.

Regards,

Eliot Lee
Quote Reply
Re: nph-build, missing semicolon In reply to
I thought so. The error is in the unmodified nph-build that comes straight from the zip. Thanks for the quick reply.

Paul

http://www.fullmoonshining.com for Pearl Jam Fans