On Fri 28 Mar 2003 21:05, Tim Bunce <[EMAIL PROTECTED]> wrote:
> > > > This will fix the lot:
> > > 
> > > > -($inspdver{rdbms_ver} = $inspdver{RDBMS}) =~ s/^(\d+\.\d+)\.(\d+)/${1}0$2/;
> > > > +($inspdver{rdbms_ver} = $inspdver{RDBMS}) =~ 
> > > > s/^(\d+\.\d+)\.(\d+)(.\d+)*/${1}0$2/;
> > > 
> > > Why was that change needed?
> > 
> > Argument "8.107.0.0" isn't numeric in numeric ge (>=) at Makefile.PL line 846.
> 
> Ah. Wouldn't a simple .* instead of (.\d+)* be more general?

Yes, but less defensive. If Some clueless user now for some dark reason gets
9.321i.h3-12 I *think* it'll be better for us that he mails this `error'

> Tim.

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.024 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/

Reply via email to