You need to import pairwise from List::MoreUtils. It seems that Perl interprets pairwise { ($a, $b) } as indirect object notation otherwise:
use List::MoreUtils qw( pairwise );
In reply to Re: pairwise() doesn't seem to work...
by Corion
in thread pairwise() doesn't seem to work...
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |