App-AltSQL

 view release on metacpan or  search on metacpan

INSTALL  view on Meta::CPAN


If you don't have sudo access on the box you're working on, you can install altsql into your userspace fairly easily.  This involves using local::lib (http://search.cpan.org/perldoc?local%3A%3Alib).

NOTE: This is not recommended unless you're comfortable getting your hands a bit dirty.

Step 1: Install cpanm

  mkdir ~/bin
  cd ~/bin
  curl -LO http://xrl.us/cpanm
  chmod +x cpanm

Step 2: Install local::lib and setup your environment

  ~/bin/cpanm --local-lib=~/perl5 local::lib
  eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)

Step 3: Recreate this environment on future shells

  Bash:
  echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >> ~/.bashrc



( run in 0.427 second using v1.01-cache-2.11-cpan-496ff517765 )