• Andrew Dunstan's avatar
    Improve logic in PostgresVersion.pm · fa26eba2
    Andrew Dunstan authored
    Handle the situation where perl swaps the order of operands of
    the comparison operator. See `perldoc overload` for details:
    
    The third argument is set to TRUE if (and only if) the two
    operands have been swapped. Perl may do this to ensure that the
    first argument ($self) is an object implementing the overloaded
    operation, in line with general object calling conventions.
    fa26eba2
PostgresVersion.pm 2.96 KB