=0AAnother option:=0A=0Amy $HEADER =3D "$ENV{DOCUMENT_ROOT}/header.s=
html";=0A=0A----- Original Message ----=0AFrom: Roberto C. S=E1nchez to@connexer.com>=0ATo: modperl@perl.apache.org=0ASent: Wednesday, February =
6, 2008 8:10:08 PM=0ASubject: Re: Question about open()=0A=0A=0AOn =0AWed, =
=0AFeb =0A06, =0A2008 =0Aat =0A10:06:05PM =0A-0500, =0AMag =0AGam =0Awrote:=
=0A> =0AHi =0AAll,=0A> =0A> =0AI =0Ahave =0Abeen =0Ausing =0Amod_perl, =0Aa=
nd =0AI =0Ahave =0Aseveral =0Aperl-cgi =0Afiles =0Athat =0Ause =0Athe=0A> =
=0Aopen(). =0AI =0Ause =0Athis =0Afunction =0Ato =0Aopen/include =0Amy =0Ah=
eader, =0Afooter, =0Abasically =0Aa=0A> =0Apoor =0Aman =0Atemplate =0Asyste=
m. =0ACurrently, =0Awhen =0AI =0Aopen =0Aa =0Afile =0AI =0Ahave =0Ato =0Aus=
e =0Athe=0A> =0Aabsolute =0Apath =0A(/var/www/appname/top.inc). =0AIs =0Ai=
t =0Apossible =0Afor =0Ame =0Ato =0Ause =0Ajust=0A> =0A'top.inc'? =0AI =0At=
hink =0Ait =0Atrying =0Ato =0Aread =0Afrom =0ADocumentRoot, =0Awhich =0Ais =
=0Acausing =0Athe=0A> =0Aissue. =0AHas =0Aanyone =0Aever =0Afaced =0Athis?=
=0A> =0AI =0Ajust =0Aset =0Asomething =0Alike =0Athis =0Ain =0Aglobal.asa:=
=0A=0Amy =0A$base_dir =0A=3D =0Acwd =0A. =0A'/';=0A=0AThen =0AI =0Acan =0Am=
ake =0Athe =0A$base_dir =0Aavailable =0Aglobally =0Aand =0Ajust =0Ause =0At=
hat=0Aanywhere =0AI =0Aneed =0Ato =0Arefer =0Ato =0Aan =0Aon =0Adisk =0Afil=
e.=0A=0ARegards,=0A=0A-Roberto=0A=0A-- =0ARoberto =0AC. =0AS=E1nchez=0Ahttp=
://people.connexer.com/~roberto=0Ahttp://www.connexer.com=0A=0A=0A=0A=0A=0A=
__________________________________________________ ___________________=
_______________=0ABe a better friend, newshound, and =0Aknow-it-all with Ya=
hoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=3DAhu06i62sR8HDtDy=
pao8Wcj9tAcJ =0A