in reply to sub any

You could also manually import it to another name

use List::MoreUtils qw( ); BEGIN { *any_of = \&List::MoreUtils::any; } if (any_of ...) { ... }

Replies are listed 'Best First'.
Re^2: sub any
by will_ (Scribe) on Apr 25, 2013 at 13:19 UTC
    When I got this error I found that List::MoreUtils::any() was clashing with Test::Deep::any()... Which is a shame because Test::Deep::any() is designed to be be used only inside cmp_deeply() as a special comparison tool.