perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Wetherbee <>
Subject Re: re-factoring 'print' for $r
Date Sat, 22 Dec 2007 20:44:28 GMT
Will Fould wrote:
> Is this a reasonable approach? Is it typical to refer to the request 
> object by package name rather than try to painfully re-factor all 
> packages and subs to accept $r as a passed reference?

I don't know if this will help your re-factoring, but you should note 
you can always get the current $r with the following code.

my $r = Apache2::RequestUtil->request;


View raw message