[Templates] format plugin can't work with TT list refs
Stas Bekman
stas@stason.org
Mon, 13 Oct 2003 09:45:06 -0700
Consider:
foo = [ 1 2 3 ];
USE format_foo = format("%d %d %d");
format_foo(foo);
Prints:
140169244 0 0
basically coercing the list ref into IV, instead of interpreting it as a list.
Did I miss something obvious or is that a bug in that plugin?
Workaround:
format_foo(foo.0, foo.1, foo.2);
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com