Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: bugs anyone?

by stephen (Priest)
on Jun 19, 2001 at 22:56 UTC ( #89775=note: print w/ replies, xml ) Need Help??


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


Comment on Re: bugs anyone?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://89775]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2015-07-06 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls