Hello,
Is there a way in TT2 that I can access a subroutine reference?
e.g.:
[% do_something( sub_ref ) -%]
....
sub do_something {
my $sub_ref = shift();
my $obj = shift();
return &{ $sub_ref }( $obj );
}
-FG
--
Felipe Gasper
Linux/BSD development
cPanel of Texas, LLC
3701 Kirby Dr., suite 428
Houston, TX 77098
office 713-529-0800 x4096
cell 832-633-8092
fax 713-559-3206
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates