- or download this
my $fetch = sub {
my ($fh) = @_;
...
while ($next->(my $item)) {
print "$item\n";
}
- or download this
my $fetch = sub {
my ($fh) = @_;
...
while (my $ref = $next->()) {
print "$$ref\n";
}
- or download this
my $fetch = sub {
my ($fh) = @_;
...
while (my ($item) = $next->()) {
print "$item\n";
}