[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.