Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Using fastperl instead of perl

To make website performance faster

9:42 pm on Nov 22, 2011 (gmt 0)

New User

5+ Year Member

joined:Nov 22, 2011
votes: 0

It was mentioned to me to try to use fastperl in place of /usr/local/bin/perl - regular perl - for my scripts. Has anyone used fastperl? Are there limitations I should be aware of? Pros and cons? Any real-world examples?
9:15 pm on Nov 23, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:May 31, 2008
votes: 0

I've never heard of it untill now. Google gives this thread as the first related result (after a consulting firm with the same name).
So no, I don't have any experience, and it isn't installed on my machines. If you are able to install additional software on your webserver, looking into modperl or fastcgi might be the better way.
1:17 am on Nov 24, 2011 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 126

welcome to WebmasterWorld, dalyea!

are you referring to the CGI::Fast perl module?
http://search.cpan.org/~lds/CGI.pm-3.44/CGI/Fast.pm [search.cpan.org]

i have no experience with that but i have used mod_perl:
http://perl.apache.org/ [perl.apache.org]
7:33 am on Nov 30, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 12, 2003
posts: 1202
votes: 0

Maybe you're talking about FastCGI? I've used it some. What it does is keep the script running, so it doesn't have to do things like open a database every time it's run. On my host I still start my files with /usr/bin/perl, I just use the extension .fcgi instead of .cgi. Here's a good page on the subject: