I'm currently using FastCGI to implement part of our web application, mainly since mod_perl was not available on our first web host. We're planning to phase out the FastCGI scripts in favor of mod_perl very soon, however.
About the only tips I can offer are:
- Use the CGI::Fast module. It nicely takes care of some little quirks of FastCGI and provides a clean interface to CGI.pm.
- Be very sure to re-initialize all of your variables for every request. This is the same problem that many people have ben coding for mod_perl -- FastCGI scripts, like mod_perl scripts, are persistant, so modified variables may end up hanging around longer than you want them to.
- Zoogie
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|