ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved