in reply to Re: help with versioning modules
in thread help with versioning modules

Also, to prevent duplication, note that both the path in "use lib" and the module version in "use Foo" can contain variables, but you need to populate them in the compile time.
my $required_version; BEGIN { $required_version = '1.2'; } use lib "My/$required_version"; use Foo $required_version;
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]