summaryrefslogtreecommitdiff
path: root/posts/2008-06-30-upgrading-to-perl-5.10.md
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-08-10 14:33:04 -0700
committerFranck Cuny <franck.cuny@gmail.com>2016-08-10 20:17:56 -0700
commit8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d (patch)
treea6cecddaaea7e87d901a6c28bebe3a531438f24b /posts/2008-06-30-upgrading-to-perl-5.10.md
parentMerge branch 'convert-to-org' (diff)
downloadlumberjaph-8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d.tar.gz
convert back to md
Diffstat (limited to 'posts/2008-06-30-upgrading-to-perl-5.10.md')
-rw-r--r--posts/2008-06-30-upgrading-to-perl-5.10.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/posts/2008-06-30-upgrading-to-perl-5.10.md b/posts/2008-06-30-upgrading-to-perl-5.10.md
new file mode 100644
index 0000000..b3a2f3d
--- /dev/null
+++ b/posts/2008-06-30-upgrading-to-perl-5.10.md
@@ -0,0 +1,19 @@
+Get the list of your installed 5.8 modules:
+
+``` bash
+perl -MExtUtils::Installed -e'print join("\n", new ExtUtils::Installed->modules)' > module.list
+```
+
+then install Perl 5.10:
+
+``` 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"'
+```
+
+and then re-install your modules with cpan \`cat module.list\`.