[Templates] possible bug?
[prev]
[thread]
[next]
[Date index for 2004/06/23]
I have a code fragment:
<% FOREACH i = item.keys.nsort -%>
<% IF i != "subsections" -%>
where the key is a numeric sort order.
This throws a:
Argument "subsections" isn't numeric in numeric comparison (<=>) at
/usr/lib/perl5/site_perl/5.6.1/Template/Stash.pm line 212.
It seems like there's some crack going on on line 212 of Stash.pm ;-)
i seems to be coerced to numeric with no hope of going back to a string.
Andy?
--
Dave Hodgkinson
CTO, Rockit Factory Ltd.
http://www.rockitfactory.com/
Web sites for rock bands
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] possible bug?
David Hodgkinson 20:02 on 23 Jun 2004
|