in reply to Help with Template Workflow

Hopefully I'm not sounding like a you-should-use-qmail type guy...

Template::Toolkit will allow you to use a template variable as the name of the thing to include like so

use Template; my $TT = Template->new; my %tt_variables = ( # use cgi-bin/magic_perl_script/page_name type urls content_template => $ENV{PATH_INFO} # escape me o_O ) $TT->process(\*DATA, \%tt_variables ); __DATA__ [% PROCESS header %] <!-- this is the interesting directive: --> [% PROCESS $content_template %] [% PROCESS footer %]
People seemed to like what I said about PATH_INFO Re: Multiple Pages with CGI

I'd be tempted to suggest that your content should occur in the data you pass into the template (%tt_variables), rather than including your content as a template file on the disk...

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;