Re: perl version comparison errors

[email protected] (Eric Wilhelm)
Newsgroups perl.module.build
Message-ID <[email protected]>
# from David E. Wheeler
# on Thursday 10 July 2008 12:47:

>First, there is still an issue comparing  
>version numbers. Encode::ZapCP1252 has this line:
>
>     requires           => { 'perl'          => 5.006_002  },
>
>Yet I got this error when building it with Perl 5.6.2:
>
>Checking prerequisites...
>  * Optional prerequisite Encode is not installed
>  - ERROR: perl (5.006002) is installed, but we need version >= 5.6002
>
>That 5.6002 doesn't look right. I get the same error with 5.8.8:
>
>Checking prerequisites...
>. - ERROR: perl (5.008008) is installed, but we need version >= 5.6002

Odd.  What is the state of version.pm and such there?  I can't repeat 
that with my 5.8.8 with or without version::vxs (0.74 here.)

  $ perl -e 'use YAML; use Module::Build;
    warn YAML::Dump(
      Module::Build->check_installed_status(perl => "5.006_002"));'
  ---
  have: 5.8.8
  need: 5.006_002
  ok: 1

--Eric
-- 
Like a lot of people, I was mathematically abused as a child.
--Paul Graham
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.