Intro to Apache - ApacheCon 2005
mod_perl handlers
  • A slightly less trivial example

    
         Package Apache::HandlerTest2;
    
      
    
         sub handler2 {
              my $r = shift;
              my %form =  $r->method eq 'POST' ?
                $r->content : $r->args;
              $r->send_http_header( 'text/html' );
              $r->print( "Name = " . $form{name} );
         }
         1;
    
      

Index
Back to mod_perl handlers
Forward to mod_perl handlers

ApacheCon 2005 : Intro to Apache - Slide #160 of 164