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: Intermediate:
.pm file created used in the perl program



Jan 26, 2000, 11:01 PM

Post #1 of 2 (6166 views)
.pm file created used in the perl program Can't Post

i have created .pm file with database login and logoff from the database in a package.since i don't want to repeat the code which is not relevant i want to use the .pm module in the program.when i use the .pm and implement the perl program i get the linux server command environment it works.from the browser i try the same program it says the internal server error.when i implement the functions in the .pm module itis working.from the browser,i use the pm module it is not.


Jan 29, 2000, 9:16 AM

Post #2 of 2 (6166 views)
Re: .pm file created used in the perl program [In reply to] Can't Post

Do you happen to have access to your error logs? It would be really useful in determining the nature of the problem.

If you do, please post the relevant entries in the error-logs.

If it's working at the command prompt and not in the browser, a probably oversimplified suggestion is to make sure that you have the print "Content-Type: text/html\n\n"; before you attempt to display any output to the browser.


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

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