Re: re-factoring 'print' for $r
by Colin Wetherbee other posts by this author
Dec 22 2007 12:45PM messages near this date
re-factoring 'print' for $r
|
Re: re-factoring 'print' for $r
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;
Colin
Thread:
Will Fould
Colin Wetherbee
Will Fould
Perrin Harkins
Will Fould
Jonathan Vanasco
Perrin Harkins
Adam Prime
Jonathan Vanasco
Will Fould
|