Help for this page

Select Code to Download


  1. or download this
    package Mason::TestHandler;
    use strict;
    ...
        
        # ... VARIOUS ATTEMPTS GO HERE ... #
    }
    
  2. or download this
        ... 
        
        my $ah = HTML::Mason::ApacheHandler->make_ah($r);
        my $mi = $ah->interp;
        my $output = $mi->exec($testPath);
    
  3. or download this
        ... 
        $r->filename($testPath);
        my $ah = HTML::Mason::ApacheHandler->make_ah($r);
        my $output = $ah->prepare_request($r);
    
  4. or download this
        ...
        use HTML::Mason::Interp;
    ...
        
        my $c = $mi->make_component(comp_file => $testPath );
        my $output = $mi->exec($c);