http://www.perlmonks.org?node_id=1179146


in reply to Re^2: how to improve: use MODULE VERSION LIST
in thread how to improve: use MODULE VERSION LIST

That's not how it should be working.

If you have a newer version of a module in a directory that you add with use lib, that should be the one loaded, without need of a version number (so long as that's the last change you make to @INC).

You should be able to do:

$ perl -Mautodie -E 'say $autodie::VERSION' 2.23 $ perl -I/usr/foss/packages/foss-perllib -Mautodie -E 'say $autodie::V +ERSION' 2.29


The way forward always starts with a minimal test.