Hello,

I'm trying to use ModPerl::RegistryLoader to compile my app at server startup. I have the code below in my startup.pl. I can see that the program is loaded at startup, but
when I hit the url it is executed as a normal CGI.

What am I doing wrong?


  sub trans {
     my $uri = shift;
      return File::Spec->catfile(SERVER_ROOT, $uri);
   }

   my $rl = ModPerl::RegistryLoader->new(
     package => 'ModPerl::RegistryPrefork',
       trans   => \&trans,
   );

      $rl->handler('/url/script.cgi');

Reply via email to