Your bug sounds like your version is depending on an accident of not-quite recent perls. It used to often "just work" to say Carp::croak '...';. That was accidental and whenever you see an exception like this, just make sure to load Carp in advance of loading the thing you're using.
In your example, do:$ LIST_MOREUTILS_PP=1 perl -MCarp foo
|Replies are listed 'Best First'.|
Re^3: Beware List::MoreUtils natatime()!
by JavaFan (Canon) on Feb 10, 2009 at 07:55 UTC