Subject: | permute is not exported anymore |
It seems that a "require Exporter" is missing. Currently this does not work anymore:
$ perl5.24.1 -e 'use warnings; use Algorithm::Permute "permute"; @x=(1..4); permute { } @x'
Can't locate object method "permute" via package "1" (perhaps you forgot to load "1"?) at -e line 1.
Interestingly, only perl 5.10.1 issues a warning that something goes wrong by just use'ing the module:
$ perl5.10.1 -e 'use warnings; use Algorithm::Permute "permute";'
Can't locate package Exporter for @Algorithm::Permute::ISA at -e line 1.