I'm not sure if this is the right place for this post, but I hope so.
I have a webserver with Linux-Mandrake 6.2, perl 5.005_03, and apache 1.3.9. I've written a simple script to do database lookups, but it's quite slow and I'd like to speed it up a bit. I've been reading about CGI::Fast and mod_perl. From what I understand it will be easier (less changes to the script) to use CGI::Fast than to rewrite it in mod_perl. I'm not very good with linux, and I've never used patch before. Do you think it will be better to go with CGI::Fast? Has anyone had experiences with it, good and bad? How was installing CGI::Fast? I think I'd need to recompile perl to use it.
Are there any other comments?
[michael@illium michael]# perl -e "use CGI::Fast;"
Can't locate FCGI.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i3
+86-linux /
usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/l
+ib/perl5/s
ite_perl/5.005 .) at /usr/lib/perl5/5.00503/CGI/Fast.pm line 22.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.00503/CGI/Fast.p
+m line 22.
BEGIN failed--compilation aborted at -e line 1.
michael the blue haired monk
-
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.
|