[Templates] Calling class methods with parameters from templates

Clinton Gormley clint@traveljury.com
Tue, 03 Jul 2007 17:22:24 +0200


> my $runner = $suite->get_runner(ENVIRONMENT => 'PROD');
> 
> I've tried to:
> 
> [% runner = suite.get_runner(ENVIRONMENT => env) %]
> 

[% runner = suite.get_runner('ENVIRONMENT' => env) %]


... should do the trick