Changeset f87131


Ignore:
Timestamp:
01/23/08 13:26:01 (4 years ago)
Author:
Tomash Brechko <tomash.brechko@…>
Branches:
master, ketama-compat
Children:
ff0698
Parents:
23c7e8
git-author:
Tomash Brechko <tomash.brechko@…> (01/23/08 13:26:01)
git-committer:
Tomash Brechko <tomash.brechko@…> (01/23/08 13:26:01)
Message:

Use better Perl version syntax.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/Cache/Memcached/Fast.pm

    r23c7e8 rf87131  
    4343      nowait => 1, 
    4444      serialize_methods => [ \&Storable::freeze, \&Storable::thaw ], 
    45       utf8 => ($^V >= 5.008001 ? 1 : 0), 
     45      utf8 => ($^V ge v5.8.1 ? 1 : 0), 
    4646  }); 
    4747 
     
    516516    } 
    517517 
    518     if ($conf->{utf8} and $^V < 5.008001) { 
     518    if ($conf->{utf8} and $^V lt v5.8.1) { 
    519519        carp "'utf8' may be enabled only for Perl >= 5.8.1, disabled"; 
    520520        undef $conf->{utf8}; 
     
    958958I<does> check for underflow, attempt to decrement the value below zero 
    959959would set the value to zero.  Similar to L<DBI|DBI>, zero is returned 
    960 as "0E0", and evaluates to true in a boolean context. 
     960as I<"0E0">, and evaluates to true in a boolean context. 
    961961 
    962962I<Return:> unsigned integer, new value for the I<$key>, or false for 
  • t/Memd.pm

    r0c6861 rf87131  
    3838        nowait => 1, 
    3939        serialize_methods => [ \&Storable::freeze, \&Storable::thaw ], 
    40         utf8 => ($^V >= 5.008001 ? 1 : 0), 
     40        utf8 => ($^V ge v5.8.1 ? 1 : 0), 
    4141    ); 
    4242 
Note: See TracChangeset for help on using the changeset viewer.