On Fri, 14 Mar 2003, Andrew Brosnan wrote:
> That's what I thought, but HT complained, something like:
>
> odd number of params...should be param=>value at line...
>
> However $tmpl->param(%$hashref); works fine...weird.
Are you sure it's a hashref? It could be an array ref or even undef
if you don't 'use strict'. Try this just before the call to param():
die "Hash ref not a hash ref!"
unless defined $hashref and ref $hashref eq 'HASH';
-sam
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users