On Mon, 29 Sep 2003, Kenneth Gonsalves wrote:

>                  my %rowdata;
>                  $rowdata{cols} = [EMAIL PROTECTED];
                     ^^^^^^^^^^^^^^^^^^
you assign a reference to @cls

>                  push (@rows,\%rowdata);
>                  @cls = ();
                    ^^^^^^^
which you then blow away

all @rows contain an empty ().  Instead, why not just use an anonymous 
arrayref: my $cls = [], and push into that?

You should also quote hash keys.

Philip

-- 
[He] took me into his library and showed me his books, of which he had
a complete set.
                -- Ring Lardner




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to