Skip Menu |

This queue is for tickets about the Web-Simple CPAN distribution.

Report information
The Basics
Id: 96509
Status: resolved
Priority: 0/
Queue: Web-Simple

People
Owner: Nobody in particular
Requestors: tsibley [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.023
Fixed in: (no value)



Subject: Typos in documentation example code
From the Web::Simple POD: For example to match a "page" parameter with an optional "order_by" parameter one would write: sub (?page=&order_by~) { my ($self, $page, $order_by) = @_; return unless $page =~ /^\d+$/; $page ||= 'id'; response_filter { $_[1]->search_rs({}, $p); } } $page ||= 'id' should be $order_by. $p in the search_rs call should be { page => $page, order_by => $order_by }.
Thanks, released in 0.024!