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 [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to