Changeset 33 for trunk/lib/Mungo

Show
Ignore:
Timestamp:
02/20/08 21:39:15 (6 years ago)
Author:
clinton
Message:

First stabs at documentation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Mungo/Response.pm

    r17 r33  
    126126  $self->End(); 
    127127} 
     128 
     129 
     130=head2 $res->Include($filename, $arg1, $arg2, ...); 
     131 
     132=head2 $res->Include(\$string, $arg1, $arg2, ...); 
     133 
     134Reads the given filename or string and interprets it as Mungo ASP code. 
     135 
     136Any passed arguments are available in the @_ array within the ASP code. 
     137 
     138The results of evaluating the code is printed to STDOUT. 
     139 
     140=cut 
     141 
    128142sub Include { 
    129143  my $self = shift; 
     
    222236  } 
    223237  $self->Flush(); 
    224   eval { goto  MUNGO_HANDLER_FINISH; }; 
     238  eval { goto  MUNGO_HANDLER_FINISH; }; # Jump back to Mungo::handler() 
    225239} 
    226240