I do see one potential problem:

>      for (my $x = 0; $x < $rows; $x++) {
>         push(@return_array,  $data_record[$offset + $x] );

That will push on 'undef' values on your last page.  Maybe change that
to:

          push(@return_array,  $data_record[$offset + $x] )
              if exists $data_record[$offset + $x];

Another idea would be to add this just before you return from your
callback:

       use Data::Dumper;
       print STDERR Dumper([EMAIL PROTECTED]);

If everything is working you should see an array-ref containing a
single hash in your error logs when you view the last page.

-sam


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to