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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|