Maybe I am mis-reading what you are trying to do, but are you trying to have one CGI script call another perl script, and have the first CGI script finish while the other perl script does all of the number crunching?
In other words, foo.cgi starts bar.pl, and foo.cgi finishes right away, but bar.pl still continues doing stuff?