"use" etiquette in mod_perl
[prev]
[thread]
[next]
[Date index for 2004/11/13]
--B_3183198967_9705515
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
Quick performance question: Will it kill performance to make sub routines i=
n
mod_perl call all their own use statements? For instance, I have several su=
b
routines that need to query $q->param(foo), and I=B9m curious if I should
create a single instance of $q and pass it into all the respective sub
routines, or if it=B9s okay to have each method create their own $q =3D new CGI=
;
instance.=20
Just checking. Thanks!
Mark
--B_3183198967_9705515
Content-type: text/html;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>"use" etiquette in mod_perl</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:12.0px'><B>Qu=
ick performance question</B>: Will it kill performance to make sub routines =
in mod_perl call all their own use statements? For instance, I have several =
sub routines that need to query $q->param(foo), and I’m curious if =
I should create a single instance of $q and pass it into all the respective =
sub routines, or if it’s okay to have each method create their own $q =
=3D new CGI; instance. <BR>
<BR>
Just checking. Thanks!<BR>
<BR>
Mark</SPAN></FONT>
</BODY>
</HTML>
--B_3183198967_9705515--
 |
"use" etiquette in mod_perl
Mark S Lowe 21:56 on 13 Nov 2004
|