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)