Skip Menu |

This queue is for tickets about the Parallel-Iterator CPAN distribution.

Report information
The Basics
Id: 67597
Status: new
Priority: 0/
Queue: Parallel-Iterator

Owner: Nobody in particular
Requestors: rganski [...]

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

Subject: Documentation error
Date: Tue, 19 Apr 2011 16:29:26 -0700
To: "bug-parallel-iterator [...]" <bug-parallel-iterator [...]>
From: Richard Ganski <rganski [...]>
Download (untitled) / with headers
text/plain 797b
Hi, there is an error in the documentation at The subroutine fetch is defined as sub fetch { my $url = shift; my $resp = $ua->get($url); return unless $resp->is_success; return $resp->content; }; when discussing building one's own iterator. Then it is called unchanged when passed to iterate and iterate_as_array. But when used in conjunction with those routines, fetch should be modified to get $url from the second argument: sub fetch { my $id = shift; my $url = shift; # or my ($id, $url) = @_; my $resp = $ua->get($url); return unless $resp->is_success; return $resp->content; }; It's a great module! Thanks Rich Ganski
Download (untitled) / with headers
text/html 14.9k

Message body is not shown because it is too large.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to