CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:



May 5, 2000, 5:04 AM

Post #1 of 2 (761 views)
STMP Can't Post

Well, I found the other typo, the extra comma in the SMTP const statement. But now the script runs but then asks me to open or download. The error I downloaded was:
Execution of D:\test_sites\\cgi-bin\ aborted due to compilation errors.

Any suggestions? Also does anyone have a good compiler / debugger for perl.


Administrator / Moderator

May 6, 2000, 8:17 AM

Post #2 of 2 (761 views)
Re: STMP [In reply to] Can't Post

Try adding the -w flag to your first line, like this:

#!/usr/bin/perl -w

Alternatively, if you have telnet access, go to the directory your program resides in and type:

perl -w

This should give you more info about the error.

You can also type:

perl -d

to enter the perl debugger. Documentation on how to use the debugger is available by typing h when you enter the debugger (which you enter by using the perl -d

Good luck!


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives