Help for this page

Select Code to Download


  1. or download this
      sub handler {
         my $r    = shift;
         my $my_r = My::Apache::Request->new($r);
         # do interesting things with $my_r
      }
    
  2. or download this
       # somewhere in your code...
       my $r = My::Apache::Request->instance;
    ...
          my $class = shift;
          return $class->new(r => Apache::Request->instance);
       }