Tue Apr 08 23:23:12 2014garry [...] usableit.co.uk - Ticket created
Subject:
next_pair() not defined ?
Date:
Wed, 9 Apr 2014 04:23:01 +0100
To:
bug-var-pairs [...] rt.cpan.org
From:
Garry Heaton <garry [...] usableit.co.uk>
Perl: 5.16 / Var::Pairs 0.002000 / Mac OS X 10.8
This example is given in the SYNOPSIS:
while (my $next = next_pair %hash) {
say $next->key, ' had the value ', $next->value;
$next->value++;
}
However, the sub next_pair() doesn't appear to be defined. Substituting each_pair() works so maybe this is what was intended.
Garry Heaton