PerlModule Fyp::Main #load your module SetHandler perl-script #invoke mod_perl to run the script PerlHandler Apache::Registry #not Apache::PerlRun,but with Apache::Registry PerlHandler Fyp::Main #call hander() in Fyp:Main