diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
| commit | 0afbfaee75e8480e8e0ed0a3bbd3749a4756f727 (patch) | |
| tree | f9e4d91866060661d53c50c66973fcd20600983f /_posts/2008-06-30-upgrading-to-perl-5.10.textile | |
| download | lumberjaph-0afbfaee75e8480e8e0ed0a3bbd3749a4756f727.tar.gz | |
initial import
Diffstat (limited to '_posts/2008-06-30-upgrading-to-perl-5.10.textile')
| -rw-r--r-- | _posts/2008-06-30-upgrading-to-perl-5.10.textile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/_posts/2008-06-30-upgrading-to-perl-5.10.textile b/_posts/2008-06-30-upgrading-to-perl-5.10.textile new file mode 100644 index 0000000..8c122a2 --- /dev/null +++ b/_posts/2008-06-30-upgrading-to-perl-5.10.textile @@ -0,0 +1,29 @@ +--- +layout: post +category: perl +title: Upgrading to perl 5.10 +--- + +Get the list of your installed 5.8 modules: + +{% highlight bash %} +perl -MExtUtils::Installed -e'print join("\n", new ExtUtils::Installed->modules)' > module.list +{% endhighlight %} + +then install Perl 5.10: + +{% highlight bash %} +wget http://www.cpan.org/src/perl-5.10.0.tar.gz +tar xzf perl-5.10.0.tar.gz +cd perl-5.10.0 +sh Configure -de -Dprefix=/opt/perl -Duserelocatableinc +make && make test +sudo make install +/opt/perl/bin/perl -e 'use feature qw(say); say "hi"' +{% endhighlight %} + +and then re-install your modules + +{% highlight bash %} +cpan `cat module.list` +{% endhighlight %} |
