Skip Menu |

This queue is for tickets about the HTML-Pager CPAN distribution.

Report information
The Basics
Id: 726
Status: new
Priority: 0/
Queue: HTML-Pager

People
Owner: Nobody in particular
Requestors: crazyinsomniac [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



Subject: minor bugs in the documentation examples
# create a callback subroutine to generate the data to be paged my $get_data_sub = sub { ... }; ^--- the semicolon is missing on this closure here(line 24) and on line 49 # make it go - send the results to the browser. print $pager->output; http headers are needed so the following is appropriate print $query->header, $pager->output; I'd also comment out line 41, like ## javascript_presubmit => 'last_minute_javascript()', because the sample template doesn't include last_minute_javascript(). Either that, or add last_minute_javascript() to the default template, and have it do an Alert("hello, you selected ..."); or something. Keep up the good work, podmaster (cpanid)