in reply to bugs anyone?
Run your code from the command line with perl -c. This will reveal:
- You need a semicolon after my $guest_file = "../new_guestbook.html"
- You need to close your quotes in
print "Name: <INPUT TYPE=\"text\" NAME=\"new_name\"><BR>\n; print "Email: <INPUT TYPE=\"text\" NAME=\"new_email\"><BR>\n; print "Comments: <INPUT TYPE=\"text\" NAME=\"new_comments\"><BR> +\n;
- Quite probably many other things. perl -c will reveal them when you run it on this script from the command line.
Please, please start your script with 'use strict;'. You'll save time, effort, and agony.
stephen
|
---|
In Section
Seekers of Perl Wisdom