/[suikacvs]/messaging/manakai/lib/Message/CGI/Carp.html
Suika

Contents of /messaging/manakai/lib/Message/CGI/Carp.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Sep 23 07:57:00 2007 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
CVS Tags: manakai-release-0-4-0, HEAD
File MIME type: text/html
Error occurred while calculating annotation data.
++ manakai/lib/Message/CGI/ChangeLog	23 Sep 2007 07:56:57 -0000
2007-09-23  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (all): |Carp.html| is added.

++ manakai/lib/Message/DOM/ChangeLog	23 Sep 2007 07:55:19 -0000
2007-09-23  Wakaba  <wakaba@suika.fam.cx>

	* SelectorsAPI.pm: New Perl module.

1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>SuikaWiki::Output::CGICarp --- SuikaWiki : CGI::Carp modification to
5 return 500 status code</title>
6 <link rel="stylesheet" href="http://suika.fam.cx/www/style/html/pod.css" type="text/css" />
7 <link rev="made" href="mailto:admin@suika.fam.cx" />
8 </head>
9
10 <body>
11
12 <p><a name="__index__"></a></p>
13 <!-- INDEX BEGIN -->
14
15 <ul>
16
17 <li><a href="#name">NAME</a></li>
18 <li><a href="#description">DESCRIPTION</a></li>
19 <li><a href="#options">OPTIONS</a></li>
20 <li><a href="#example">EXAMPLE</a></li>
21 <li><a href="#license">LICENSE</a></li>
22 </ul>
23 <!-- INDEX END -->
24
25 <hr />
26 <p>
27 </p>
28 <h1><a name="name">NAME</a></h1>
29 <p>SuikaWiki::Output::CGICarp --- SuikaWiki : CGI::Carp modification to
30 return 500 status code</p>
31 <p>
32 </p>
33 <hr />
34 <h1><a name="description">DESCRIPTION</a></h1>
35 <p>At the time of writing, latest version of CGI::Carp (1.27)
36 does not output error dying message with 500 (Internal Server Error)
37 HTTP status code unless it is working on mod_perl.</p>
38 <p>This module overrides some of CGI::Carp functions to return 500 status
39 code. Users of this module should take attention whether later revision
40 of CGI::Carp provides improved version of CGI outputing methods.</p>
41 <p>This module is part of SuikaWiki.</p>
42 <p>
43 </p>
44 <hr />
45 <h1><a name="options">OPTIONS</a></h1>
46 <dl>
47 <dt><strong><a name="item_custom_reason_text">$SuikaWiki::Output::CGICarp::CUSTOM_REASON_TEXT (Default : Internal CGI Script Error)</a></strong><br />
48 </dt>
49 <dd>
50 Short description of error status. This string should contains only
51 printable ASCII characters (including SPACE) for interoperability
52 and line break characters (CR and LF) MUST NOT be used.
53 </dd>
54 <p></p>
55 <dt><strong><a name="item_custom_status_code">$SuikaWiki::Output::CGICarp::CUSTOM_STATUS_CODE (Default : 500)</a></strong><br />
56 </dt>
57 <dd>
58 Three digit status code defined by HTTP specifications.
59 </dd>
60 <p></p></dl>
61 <p>
62 </p>
63 <hr />
64 <h1><a name="example">EXAMPLE</a></h1>
65 <pre>
66 use CGI::Carp qw/fatalsToBrowser/;
67 require SuikaWiki::Output::CGICarp;
68
69 die 'Something wrong';</pre>
70 <p>
71 </p>
72 <hr />
73 <h1><a name="license">LICENSE</a></h1>
74 <p>Copyright 2003-2004 Wakaba &lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>&gt;</p>
75 <p>This program is free software; you can redistribute it and/or
76 modify it under the same terms as Perl itself.</p>
77
78 </body>
79
80 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24