Using Profiles From Perl: my $tt = Template->new( profile => 'My::TT::Profile::foobar', ); my $tt = Template->new( profile => 'foobar', ); From the command line: $ tpage --profile=foobar myfile.html $ ttree --profile=foobar