I have an application that uses CGI and DBI. It is very robust and performs a lot of queries and has a lot of traffic. I'm having problems with the CPU of the server staying at 100%. I read online that to speed up my pages I can use parts of CGI and DBI instead of using the whole thing. How do I do this?
The only part of CGI I really need to use is the part that gets the variables from the url string...
use CGI;
my $q = new CGI;
foreach($q->param()){
$var{$_} = $q->param($_);
}
The only part of CGI I really need to use is the part that gets the variables from the url string...
use CGI;
my $q = new CGI;
foreach($q->param()){
$var{$_} = $q->param($_);
}