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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [ros] Redirect URL as a variable: Edit Log



davorg
Thaumaturge / Moderator

Mar 5, 2003, 2:00 AM


Views: 649
Re: [ros] Redirect URL as a variable


In Reply To
The script I am running is on a shared secure server of which unfortunately I do not have access to the logs (it's a suck it and see job)

It's a really bad idea to try and develop CGI programs when you can't see the error logs. I would consider that a basic requirement for a functional web server.

There are, however, ways around it. Try adding the code

Code
use CGI::Carp 'fatalsToBrowser';

to you program. That will then write any fatal errors to the browser window.


In Reply To
Any good books you can suggest for a real simpleton?


The Perl community's recommendations for books are all listed in perldoc perlfaq2. For learning Perl it basically bols down to Learning Perl if you have previous programming experience or Elements of Programming with Perl if you haven't. I also like Perl for Web Site Management which is more of a learners book than the title implies.

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks


(This post was edited by davorg on Mar 5, 2003, 2:44 AM)


Edit Log:
Post edited by davorg (Thaumaturge) on Mar 5, 2003, 2:44 AM


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

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