[Bioperl-l] bioperl wiki oddity for 'installing bioperl in unix'

Pablo Marin-Garcia pg4 at sanger.ac.uk
Fri Jul 23 16:52:03 UTC 2010


On Fri, 23 Jul 2010, Dave Messina wrote:

> Thanks for that addition to the wiki, Pablo! Much appreciated.
>
> I did not know about local::lib.
>

[This is a bit off-topic but probably useful for core developers]
Then probably you don't know about

App::perlbrew

Very useful when you want to test your api in different perl 
versions, or now that perl is releasing new versions more frequently you can 
test the latest one, easily.


----

Copied from the SYNOPSIS:


# Initialize
perlbrew init

# Install some Perls
perlbrew install perl-5.8.1
perlbrew install perl-5.11.5

# See what were installed
perlbrew installed

# Switch perl in the $PATH
perlbrew switch perl-5.11.5
perl -v

# Switch to another version
perlbrew switch 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.11.5

   -Pablo

>
> Dave
>


-----

   Pablo Marin-Garcia



-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



More information about the Bioperl-l mailing list