prezto/modules/perl
huyz 3e5e108eaa Improve less options
Remove silly message on logout

display non-success exit value for every command

Add first version of modules and load them up

Add more paths

Allow the sharing of prezto files by differentiating ZDOTDIR and where temp cache files will go: _ZDOTDIR/HOME

remove Vim swap files

Allow for both a shared and personal overriding .zpreztorc

In shared system, put .zcompdump in user's home

Fix path of .zcompdump

Fixed names of prompt

Support callbacks to override user & host value & style

Fix transpose* bindings for vi and ^Y for emacs

Fixed ordering of paths
2012-12-12 01:23:51 -08:00
..
init.zsh Improve less options 2012-12-12 01:23:51 -08:00
README.md [Fix #197] Rebrand as Prezto 2012-09-03 16:51:27 -04:00

Perl

Enables local Perl module installation on Mac OS X and defines alises.

Local Module Installation

Perl versions older than 5.14 do not support the local installation of Perl modules natively. This module allows for local installation of Perl modules on Mac OS X in ~/Library/Perl/5.12 by altering the environment.

Usage

For Perl versions older than 5.14, install local::lib.

curl -L -C - -O http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-1.008004.tar.gz
tar xvf local-lib-1.008004.tar.gz
cd local-lib-1.008004
perl Makefile.PL --bootstrap=$HOME/Library/Perl/5.12
make && make test && make install

Install cpanminus:

curl -L http://cpanmin.us | perl - --self-upgrade

Perlbrew

An alternative to the above is to use Perlbrew, which allows for the management of multiple, isolated Perl installations in the home directory.

Aliases

General

  • pl is short for perl.
  • pld looks up Perl documentation (perldoc).
  • ple executes a one line program in a loop (perl -wlne).

Perlbrew

  • plb manages Perl environments.
  • plba lists available Perl versions.
  • plbi installs a Perl version.
  • plbl lists installed Perl versions.
  • plbo temporarily turns off Perlbrew.
  • plbO turns off Perlbrew.
  • plbs switches to a Perl version.
  • plbu uninstalls a Perl version.
  • plbx temporarily sets the Perl version to use.

Authors

The authors of this module should be contacted via the issue tracker.