For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > November 2004 > Re: CGI::Application design question - Solved









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: CGI::Application design question - Solved
Kasturirangan Rangaswamy

2004-11-29, 3:56 pm

I solved the problem. I was not giving the Content-Type header in the
display_error_message subroutine and that was giving me a server error

As Kieran mentioned, I did try using exit but because of the error
above, was misled into thinking that 'exit' was the cause of the error.
Now things seem OK.

Thanks for all your help.

Sharad
--- krmair01i@ozemail.com.au wrote:

>
> ---------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
>
>
> ||
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
>
> 0,
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
>
> \&deal_with_undefined_run_mode
> ---------------------------------------------------------------------
> display
> page.
> some
> and
> from
> CGI::Application
> this
> Hello Sharad and others,
> I am not sure about your question except
> that I think it requires the use of a command like exit(0);. This
> always exits HTML pages and waits for a response to checkboxes etc.,
> so I assume it would do the same thing for an error page,
> Kieran.
>
>
> This message was sent through MyMail http://www.mymail.com.au
>
>
>



________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com