logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

prerun and errormode handling: msg#00037

lang.perl.modules.cgi-appplication

Subject: prerun and errormode handling

Hello Everyone,

I need to capture exceptions caused in the cgiapp_prerun sub. In my situation,
I want to verify a set of environmental parts that are used in many run modes.
So instead of verifying these each time, I would like to do it in the prerun
and then output a nice universal error page (one used for other errors).

Taking the advice from a previous discussion:
http://www.nabble.com/error-mode-question-tf2025600.html#a5580234, I took the
time to add test cases and write a patch but I did so on
CGI-Application-4.07_01 source. There are two problems with 4.07: it is much
slower than 4.06 and has a large set of dependencies.

These leads to a couple of questions:

1. Should I be adding this update to 4.06 or the 4.07 line? At this point, I
can't see installing the 4.07 line with the performance hit (since we run most
of these as pure CGIs and converting them isn't really a possibility, for
business reasons.). I am willing to produce patches and tests for both.

2. In my case, I only need error handling during prerun but while I'm working
on this, it wouldn't take much more work to update the handling for the postrun
hook. I could do this if anyone is interested.

Thoughts, Comments, suggestions?

Thanks for your time,

Lee








---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation