package My::PlainHandler; use Apache2::RequestIO (); # for $r->print use Apache2::RequestRec (); # for $r->content_type use Apache2::Const -compile => qw(OK); use strict; sub handler { my $r = shift; $r->content_type('text/plain'); $r->print(q!"This is a test"!); return Apache2::Const::OK; } 1;