Apache2-ASP

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  - Added some documentation.

2.00_20   2008-11-07
  - Added missing file t/lib/My/ErrorHandler.pm to MANIFEST.

2.00_19   2008-11-07
  - Added some /Manual/* documentation.
  - HTTPContext now correctly traps "unhandled tag" errors.

2.00_18   2008-11-05
  - New *.pm files in the PAGE_CACHE are chmod 0666.
  - Added ErrorHandler.  By default, it prints a stacktrace to the browser and
    sends a copy to the email address specified in the <errors> config.
  - Added <errors> section to config.
  - Updated configuration DTD for <errors> section.
  - Apache2::ASP::ModPerl now correctly returns a 0 value and sets $r->status.
  - $Server->RegisterCleanup references the correct Apache2::RequestRec object.
  - Added "runasp," the command-line interface to run ASP scripts.

2.00_17   2008-11-04
  - Fixed a bug which caused Apache2::ASP::Test::UserAgent to not get the

lib/Apache2/ASP/ASPPage.pm  view on Meta::CPAN

  # Finally:
  $code .= <<"CODE";
1;# return true:
CODE
  
  unlink( $s->pm_path ) if -f $s->pm_path;
  open my $ofh, '>', $s->pm_path
    or die "Cannot open '" . $s->pm_path . "' for writing: $!";
  print $ofh $code;
  close($ofh);
  chmod( 0666, $s->pm_path );
}# end _assemble_code()


#==============================================================================
sub _get_directives
{
  my ($s) = @_;
  
  my $ref = $s->source_code;
  my %directives = ( );



( run in 0.631 second using v1.01-cache-2.11-cpan-496ff517765 )