Sorry if I wasn't clear, its because one needs to use local::lib "$FindBin::Bin/../extlib" to be able to include and use these bundled dependencies therefore local::lib cannot be bundled
??
Maybe you want to study local::lib a little closer?
$ perl Makefile.PL
purchasing clue ...
Checking if your kit is complete...
Looks good
Writing Makefile for ...
Writing MYMETA.yml and MYMETA.json
$ make test
...
$ make install
...
Installing /home/username/perl5/lib/perl5/bin/clue
$ cat /home/username/perl5/lib/perl5/bin/clue
#!/usr/bin/perl --
use lib
'/home/username/perl5/lib/perl5/i386-linux',
'/home/username/perl5/lib/perl5',
;
use MyClues;
MyClues->run;
__END__
$ perl -I$HOME/perl5/lib/perl5 -Mlocal::lib -e 1
export PERL_MB_OPT='--install_base /home/username/perl5'
export PERL_MM_OPT='INSTALL_BASE=/home/username/perl5'
export PERL5LIB='/home/username/perl5/lib/perl5/i386-linux:/home/use
+rname/perl5/lib/perl5'
export PATH="/home/username/perl5/bin:$PATH"
$ echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc
Now this clue preparation can be generating scripts/clue from template, it can "bootstrapping" local::lib, or instructing your users to append to bashrc
I don't see a problem |