[Catalyst] Patch for Catalyst-Action-REST-0.63 distro

Oleg Kostyuk cub.uanic at gmail.com
Wed Aug 13 14:56:39 BST 2008


Hello!

I just experienced problems with upgrading Catalyst::Action::REST to 0.63:

.......
*** Module::AutoInstall configuration finished.
ERROR: perl: Version 5.008008 is installed, but we need version >= 5.8
at inc/Module/Install/Makefile.pm line 172.


Following patch fixes this error:

tux# diff -u inc/Module/Install/Makefile.pm.orig inc/Module/Install/Makefile.pm
--- inc/Module/Install/Makefile.pm.orig 2008-08-13 16:39:22.000000000 +0300
+++ inc/Module/Install/Makefile.pm      2008-08-13 16:47:23.000000000 +0300
@@ -170,7 +170,7 @@
        }

        if ( my $perl_version = $self->perl_version ) {
-               eval "use $perl_version; 1"
+               eval "use v$perl_version; 1"
                        or die "ERROR: perl: Version $] is installed, "
                        . "but we need version >= $perl_version";
        }
tux#

-- 
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)



More information about the Catalyst mailing list