use Apache2::Const qw(FORBIDDEN NOT_FOUND OK);
exports explicitly into namespace.
to allow 'print' in your code.
to force sending headers.
$r->header_out->('Set-Cookie' => $cookie);
$r->err_headers_out->add('Set-Cookie' => $cookie);
My main goal was simply to get an existing app working on mod_perl2.. and stay away from buckets and filters and all that (just for now). I did this is about 1.5 hours (once I understood what went where etc). I plan on adding an abstraction layer so that I can provide 1 version that'll support both mod_perl versions..