> Try doing my $r=Apache::Request->new($r); You're confusing Apache::Request with Apache->request(), which is easy to do. Apache::Request is a different class, which is part of the libapreq distribution. Apache->request() returns the current request object (commonly called $r).
- Perrin