There is two main tools to install different versions of perl - perlbrew
https://perlbrew.pl/ and plenv https://github.com/tokuhirom/plenv.
If you want different project environments, you can use tools like cpanm
https://metacpan.org/pod/cpanm
For example:
cpanm -L local DBI@1.01 will install DBI into local subdirectory of your
current dir
Later on, you can load this version of DBI package with perl -I key.
perl -I local/lib/perl5 -E 'use DBI; say $DBI::VERSION'
Of course, you can install different versions of DBI into different
subfolders and use them separately.
For more flexible and advanced package management there are tools like
Carton https://metacpan.org/pod/Carton and Carmel
https://metacpan.org/pod/Carmel.
On 07/08/2019 12:43, Eliza wrote:
That's smart. I will look into it. thanks for help.
You can install multiple versions of Perl and in each of them you can
install specific versions of your library.
On Wed, 7 Aug, 2019, 3:03 PM Eliza, <e...@chinabuckets.com
<mailto:e...@chinabuckets.com>> wrote:
That looks interesting.
For library installation under perlbrew, can it install more than
one
release for the same library? for example, DBI-1.1.0, DBI-1.1.1 etc.
regards,
Eliza
> Check out perlbrew https://perlbrew.pl/
>
> On Wed, 7 Aug, 2019, 2:55 PM Eliza, <e...@chinabuckets.com
<mailto:e...@chinabuckets.com>
> <mailto:e...@chinabuckets.com <mailto:e...@chinabuckets.com>>>
wrote:
>
> Hello,
>
> Is there a toolkit like python's anaconda which has
multi-versions of
> perl installation for different development environment?
>
> https://www.anaconda.com/
>
> regards,
> Eliza
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
<mailto:beginners-unsubscr...@perl.org>
> <mailto:beginners-unsubscr...@perl.org
<mailto:beginners-unsubscr...@perl.org>>
> For additional commands, e-mail: beginners-h...@perl.org
<mailto:beginners-h...@perl.org>
> <mailto:beginners-h...@perl.org
<mailto:beginners-h...@perl.org>>
> http://learn.perl.org/
>
>
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/