Both already fixed in my development version.
Please try the attached Makefile.PL.

Tim.

On Thu, Aug 21, 2003 at 04:24:22PM +1000, Baras, Gal wrote:
>    Hi,
>     
>    When running 'perl Makefile.PL' "out of the box", perl complained that the 
> version of Oracle was a
>    string, but was being compared as a number.  This is because the program assumes 
> that the version has
>    only 3 parts, when in fact it has 5.
>    This was fixed by:
>     
>    Line 182:
>    ($inspdver{rdbms_ver} = $inspdver{RDBMS}) =~ s/^(\d+\.\d+)\.(\d+)/${1}0$2/;
>    # Added the following two lines
>    $inspdver{rdbms_ver} =~ s/^(\d+\.\d+)\.(\d+)/${1}0$2/;
>    $inspdver{rdbms_ver} =~ s/^(\d+\.\d+)\.(\d+)/${1}0$2/;
>    # OK, it's not elegant, but it worked and wouldn't have any effect on a version 
> string with 3 parts
>     
>    Then, perl complained that &MY::hpux_libdir() wasn't found on line 1340.  This is 
> probably because
>    there's an explicit declaration of the MY package within the program, which 
> doesn't include a definition
>    of hpux_libdir.
>    I fixed this by changing all the calls to this function to 'main::hpux_libdir()'. 
>  Again, this could be
>    done better, but it worked.
>     
>    Best regards,
>    Gal

Attachment: Makefile.PL.gz
Description: application/gunzip

Reply via email to