The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CGI::Header::Apache2 - Adapter for Apache 2 mod_perl 2.x

SYNOPSIS

  use Apache2::Const -compile => qw(OK);
  use CGI;
  use CGI::Header::Apache2;

  sub handler {
      my $query  = CGI->new;
      my $header = CGI::Header::Apache2->new( query => $query );

      ...

      # send response headers using mod_perl APIs
      $header->finalize;

      ...

      return Apache2::Const::OK;
  }

DESCRIPTION

Adapter for Apache2 mod_perl 2.x

SEE ALSO

Catalyst::Engine::Apache, HTTP::Engine::Interface::ModPerl, Plack::Handler::Apache2

AUTHOR

Ryo Anazawa (anazawa@cpan.org)

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.