jjn1056 / app--local--lib--helper Goto Github PK
View Code? Open in Web Editor NEWMake it easier to use local::lib
Home Page: http://search.cpan.org/dist/App-local-lib-helper/
Make it easier to use local::lib
Home Page: http://search.cpan.org/dist/App-local-lib-helper/
E.g., the test failure at http://www.cpantesters.org/cpan/report/49d752e0-bade-11e8-83ca-8681f4fbe649 . It looks like Makefile.PL just needs use lib:: relative '.'
or the like. Thanks!
cpan:CXW here. I just discovered this module, which looks very interesting! I have a request: would you be willing to add a way to create a wrapper script that pastes the local::lib setup at the top of a script included in the module? E.g.,
#!$self->{which_perl}
use strict;
use warnings;
use lib '$lib';
use local::lib '$target';
#line 1 some_script
$text_slurped_from_some_script
My use case is distributing scripts to people who don't have local::lib installed or Perl expertise. Given a CPAN module App::Foo
that has both Perl and XS dependencies, and includes a script in script/foo
or bin/foo
(example script), I would like users to be able to install by doing something like:
curl -L http://cpanmin.us/ | perl - --local-lib ~/.local/share/foo App::local::lib::helper App::Foo
ln -s ~/.local/share/foo/script/foo ~/bin/foo
The requested change is so that the single file ~/.local/share/foo/script/foo
will exist. If I understand correctly, users would currently have to create ~/bin/foo
with the contents .../localenv .../script/foo
.
Thank you for considering this request!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.