metaperl has asked for the wisdom of the Perl Monks concerning the following question:

In the docs for Data::Page we see:
$sth = $dbh->prepare( q{SELECT * FROM table ORDER BY rec_date LIMIT ?, ?} ); $sth->execute($date, $page->skipped, $page->entries_per_page);
but why would one execute against 3 bind parameters when the query only has 2 placeholders?

I'm fairly certain this is a doc bug, but need confirmation before submitting it.

Replies are listed 'Best First'.
Re: Data::Page doc issue?
by ikegami (Patriarch) on Jan 26, 2009 at 15:22 UTC
    Doc bug.