# with a subroutine reference that gets called to get the value # of the scalar. The sub will recieve the template object as a # parameter. $self->param(PARAM => sub { return 'value' }); #### $tmpl->param( blah => sub { my ($a, $b, $c) = @_; return 'something'; } );