in reply to CGI Server Error
Or better yet, use CGI!print "Content-type: text/html\n\n"; # rest of code
And as an added bonus, here is a one-liner that will replace the string 'date' with localtime:use CGI ':standard'; print header(); # rest of code
perl -pie 's/date/localtime/eg' guestbook.html
Jeff
R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--
|
|---|