sjn / app-perlbrew Goto Github PK
View Code? Open in Web Editor NEWThis project forked from gugod/app-perlbrew
Manage perl installations in your $HOME
Home Page: http://perlbrew.pl
License: MIT License
This project forked from gugod/app-perlbrew
Manage perl installations in your $HOME
Home Page: http://perlbrew.pl
License: MIT License
NAME App::perlbrew - Manage perl installations in your $HOME SYNOPSIS # Initialize perlbrew init # Pick a preferred CPAN mirror perlbrew mirror # See what is available perlbrew available # Install some Perls perlbrew install 5.14.0 perlbrew install perl-5.8.1 perlbrew install perl-5.13.6 # See what were installed perlbrew list # Switch perl in the $PATH perlbrew switch perl-5.12.2 perl -v # Temporarily use another version only in current shell. perlbrew use perl-5.8.1 perl -v # Switch to a certain perl executable not managed by perlbrew. perlbrew switch /usr/bin/perl # Or turn it off completely. Useful when you messed up too deep. perlbrew off # Use 'switch' command to turn it back on. perlbrew switch perl-5.12.2 # Exec something with all perlbrew-ed perls perlbrew exec perl -E 'say $]' DESCRIPTION perlbrew is a program to automate the building and installation of perl in the users HOME. At the moment, it installs everything to "~/perl5/perlbrew", and requires you to tweak your PATH by including a bashrc/cshrc file it provides. You then can benefit from not having to run 'sudo' commands to install cpan modules because those are installed inside your HOME too. It's a completely separate perl environment. INSTALLATION To use "perlbrew", it is required to install "curl" or "wget" first. "perlbrew" depends on one of this two external commmands to be there in order to fetch files from the internet. The recommended way to install perlbrew is to run these statements in your shell: curl -L http://xrl.us/perlbrewinstall | bash After that, "perlbrew" installs itself to "~/perl5/perlbrew/bin", and you should follow the instruction on screen to setup your ".bashrc" or ".cshrc" to put it in your PATH. The downloaded perlbrew is a self-contained standalone program that embeds all non-core modules it uses. It should be runnable with perl 5.8 or later versions of perl. This installer also installs a packed version of "patchperl" to "~/perl5/perlbrew/bin", which is required to build old perls. The directory "~/perl5/perlbrew" will contain all install perl executables, libraries, documentations, lib, site_libs. If you need to install "perlbrew", and the perls it brews, into somewhere else because, say, your HOME has limited quota, you can do that by setting a "PERLBREW_ROOT" environment variable before running the installer: export PERLBREW_ROOT=/opt/perlbrew curl -L http://xrl.us/perlbrewinstall | bash You may also install perlbrew from CPAN: cpan App::perlbrew However, please make sure not to run this with one of the perls brewed with perlbrew. It's the best to turn perlbrew off before you run that, if you're upgrading. perlbrew off cpan App::perlbrew You should always use system cpan (like /usr/bin/cpan) to install "App::perlbrew" because then it will be installed under a system PATH like "/usr/bin", which is not affected by perlbrew "switch" or "use" command. However, it is still recommended to let "perlbrew" install itself. It's easier, and it works better. USAGE Please read the program usage by running perlbrew (No arguments.) To read a more detailed one: perlbrew -h PROJECT DEVELOPMENT perlbrew project uses github <http://github.com/gugod/App-perlbrew/issues> and RT <https://rt.cpan.org/Dist/Display.html?Queue=App-perlbrew> for issue tracking. Issues sent to these two systems will eventually be reviewed and handled. AUTHOR Kang-min Liu "<[email protected]>" COPYRIGHT Copyright (c) 2010, 2011 Kang-min Liu "<[email protected]>". LICENCE The MIT License CONTRIBUTORS See <https://github.com/gugod/App-perlbrew/contributors> DISCLAIMER OF WARRANTY BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
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.