here is one way
$root_htdocs = "/usr/home/aallc/usr/local/etc/httpd/htdocs";
$app_dir = "administration/appointment";
$script_dir = "cgi-bin/administration/appointment";     #script runs from here

$template = HTML::Template->new(filename => 
"$root_htdocs/$app_dir/edit_appointment1-a.html");

At 10:15 AM 2/20/02 -0500, Mark Stosberg wrote:
>Martin Nash wrote:
> >
> > Hi
> >
> > I can't seem to get HTML::Template to reference items in my HTML
> > directory, they willonly run from the same folder as the .cgi.
> >
> > i have tried $ENV{'HTML_TEMPLATE_ROOT'} = 'path/to/folder';
> >
> > but this seems not to work
> >
> > any ideas?
>
>Did you try making 'path/to/folder' an absolute path?
>
>   -mark
>
>  . . . . . . . . . . . . . . . . . . . . . . . . . .
>    Mark Stosberg              Principal Developer
>    [EMAIL PROTECTED]       Summersault, LLC
>    765-939-9301 ext 223       website development
>  . . . . . http://www.summersault.com/ . . . . . . .
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

Dave Van Abel
Lakewood, CO USA
http://www.vanabel.com
http://perlsources.com
303-989-6481 (home-office)

Reply via email to