diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 10:16:40 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 13:42:48 -0700 |
| commit | 63f413891d5adc596e4d51dfba4d0d23fdea3ca4 (patch) | |
| tree | c2726b60515057a20f434bd89c596360ef17852b /posts/2008-06-30-upgrading-to-perl-5.10.md | |
| parent | Add Google Analytic tracker. (diff) | |
| download | lumberjaph-63f413891d5adc596e4d51dfba4d0d23fdea3ca4.tar.gz | |
Stop generating a static site.
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.md | 19 |
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..7b4b531 --- /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: + +```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>. |
