summaryrefslogtreecommitdiff
path: root/content/post/2008-06-30-upgrading-to-perl-5.10.md
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-02 20:06:31 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-02 20:06:31 -0700
commit4b8e43f75b394a4e6169884fbfb4c606865c6a22 (patch)
tree48cae6b8e8f9b68cae29676d8a15cb3ddbfcccda /content/post/2008-06-30-upgrading-to-perl-5.10.md
parentStop using Jekyll. (diff)
downloadlumberjaph-4b8e43f75b394a4e6169884fbfb4c606865c6a22.tar.gz
Import migration from Jekyll to Hugo.
All the posts were converted, and the layout is created. This looks like it works just fine.
Diffstat (limited to 'content/post/2008-06-30-upgrading-to-perl-5.10.md')
-rw-r--r--content/post/2008-06-30-upgrading-to-perl-5.10.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/content/post/2008-06-30-upgrading-to-perl-5.10.md b/content/post/2008-06-30-upgrading-to-perl-5.10.md
new file mode 100644
index 0000000..b4ad719
--- /dev/null
+++ b/content/post/2008-06-30-upgrading-to-perl-5.10.md
@@ -0,0 +1,25 @@
+---
+date: 2008-06-30T00:00:00Z
+summary: In which we upgrade to Perl 5.10.
+title: Upgrading to perl 5.10
+---
+
+Get the list of your installed 5.8 modules:
+
+```sh
+% perl -MExtUtils::Installed -e'print join("\n", new ExtUtils::Installed->modules)' > module.list
+```
+
+then install Perl 5.10:
+
+```sh
+% 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 <code>cpan \`cat module.list\`</code>.