in reply to Setting up with local::lib : .bashrc or .profile?

Just a thought---you might be able to side-step the issue and use local::lib::deps. According to the docs, by doing like this,
#!/usr/bin/perl use strict; use warnings; use local::lib::deps; my $moduledeps = local::lib::deps->new( base_path => '/path/to/custom/location', ); $moduledeps->install_deps( 'My::Module', 'Dep::One', 'Dep::Two');
it'll create a directory specifically for the My::Module namespace, install the specified dependencies there, and setup local::lib there too.