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:
End a script without an error


New User

Sep 23, 2012, 9:16 PM

Post #1 of 2 (2109 views)
End a script without an error Can't Post

I'm trying to write a script that sends an email. the program works if at the end of it I add something like this:

print "Content-type text/html\n\n";

print "It's OK\n";

However, if I have no print command at the end, I get an error. Is there a way to end a Perl script without printing to the web browser? If not can I print to a separate browser window?
Thanks for all the help,

Bob Gatto

Veteran / Moderator

Sep 24, 2012, 10:13 PM

Post #2 of 2 (2096 views)
Re: [BobGatto] End a script without an error [In reply to] Can't Post

Why didn't you respond last week to our posts on this same question that you asked on devshed?

You will need to provide more details on what you need to accomplish, what your are currently doing and how your current results differ from what you expect.


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

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