Re: Problem with global variables
Larry Leszczynski <[email protected]> Mon, 17 Sep 2012 09:25:03 -0600
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <1347895503.2394.140661129019053.1203F28D@webmail.messagingengine.com> |
Hi Khalid -
> my $tt = Template->new( {
> VARIABLES => {
> username => 'Simba',
> },
> RELATIVE => 1,
> } ) || die "$Template::ERROR\n";
I think you want CONSTANTS, not VARIABLES.
HTH,
Larry