summaryrefslogtreecommitdiff
path: root/_posts/2008-06-30-upgrading-to-perl-5.10.md
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
committerFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
commit8ddf2e94df70707b458528a437759b96046d3e01 (patch)
treed442818d92d3c9c6f7fcdc92857a1228963849a1 /_posts/2008-06-30-upgrading-to-perl-5.10.md
parentDon't need to use the IP in the makefile. (diff)
downloadlumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and styles. Added a new page for the resume.
Diffstat (limited to '')
-rw-r--r--_posts/2008-06-30-upgrading-to-perl-5.10.md25
1 files changed, 25 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..9746ac4
--- /dev/null
+++ b/_posts/2008-06-30-upgrading-to-perl-5.10.md
@@ -0,0 +1,25 @@
+---
+layout: post
+summary: In which we upgrade to Perl 5.10.
+title: Upgrading to perl 5.10
+---
+
+Get the list of your installed 5.8 modules:
+
+{% highlight sh %}
+% perl -MExtUtils::Installed -e'print join("\n", new ExtUtils::Installed->modules)' > module.list
+{% endhighlight %}
+
+then install Perl 5.10:
+
+{% highlight 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"'
+{% endhighlight %}
+
+and then re-install your modules with `cpan \`cat module.list\``.