summaryrefslogtreecommitdiff
path: root/posts/2008-06-30-upgrading-to-perl-5.10.org
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-08-04 11:45:44 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-08-04 11:45:44 -0700
commit585b48b6a605cb71ef99dd767880e1b7ee5bf24e (patch)
treec65377350d12bd1e62e0bdd58458c1044541c27b /posts/2008-06-30-upgrading-to-perl-5.10.org
parentUse Bullet list for the index. (diff)
parentMass convert all posts from markdown to org. (diff)
downloadlumberjaph-585b48b6a605cb71ef99dd767880e1b7ee5bf24e.tar.gz
Merge branch 'convert-to-org'
Diffstat (limited to '')
-rw-r--r--posts/2008-06-30-upgrading-to-perl-5.10.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/posts/2008-06-30-upgrading-to-perl-5.10.org b/posts/2008-06-30-upgrading-to-perl-5.10.org
new file mode 100644
index 0000000..53cdef4
--- /dev/null
+++ b/posts/2008-06-30-upgrading-to-perl-5.10.org
@@ -0,0 +1,19 @@
+Get the list of your installed 5.8 modules:
+
+#+BEGIN_SRC sh
+ % perl -MExtUtils::Installed -e'print join("\n", new ExtUtils::Installed->modules)' > module.list
+#+END_SRC
+
+then install Perl 5.10:
+
+#+BEGIN_SRC 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"'
+#+END_SRC
+
+and then re-install your modules with cpan `cat module.list`.