On Tue, Aug 30, 2011 at 05:02, flebber <flebber.c...@gmail.com> wrote: > On Aug 29, 10:18 pm, flebber.c...@gmail.com (flebber) wrote: >> I have a new debian install and am continuing to learn perl. >> >> Whilst I know I should use perlbrew to keep my perl version separate >> from my system version is there anyway to sandbox the perlbrew >> environments.
i wish i was as forward thinking when i started learning perl :) i've had debian mess up my perl modules every time i do a 'dist-upgrade' and just recently started using perlbrew on a mac because apeiron on irc informed me that i could mess up osx by playing with system perl. >> I have found local::lib and penv.pl >> herehttp://terrarum.net/development/perl-virtual-environments.htmlbut >> wondering if this is or there is a good system in place to manage >> virtual or sandboxed perl installs. >> based on that same conversation (iirc) if you want to make sure you know every module you use for each project, use a different local::lib environment per project. > > I have posted a feature request at app::perlbrew on github > https://github.com/gugod/App-perlbrew/issues/143 . > i'd think this to be a great feature. if i could install a perl version. then set an environment name for it and make perlbrew switch between my environment (like switching between versions) that would just be awesome. also on my perlbrew 'wish list' (or things i need to look into) is an option to set perlbrew environment within a script and perlbrew / cpan / cpanm snapshots (no, i don't want fs snapshots for this - though btrfs directory snapshots might 'work' in a pinch). > An intresting response from the author gugod(Kang-min Liu) he is > considering implenting this feature in a manner similar to ruby's rvm > gemsets.. > nice work @Rob - everything i have is on a vm (except osx and my production db). the point of perlbrew is not to develop on a production box but to make development and testing funner / better. i don't want a new vm for each project or perl version (i'd have >20 dev vm if i did this - which is not going to happen). if you use perlbrew and local::lib you can test different perl versions and then different environments. i don't have any cpan modules, however couldn't immagine testing one without this type of environment. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/