Changeset 9662
- Timestamp:
- 04/18/08 08:28:05 (8 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Cache-Memcached-libmemcached/trunk/lib/Cache/Memcached/libmemcached.pm
r9651 r9662 35 35 36 36 # proxy these methods 37 foreach my $method qw( deleteset add replace prepend append cas) {37 foreach my $method qw(set add replace prepend append cas) { 38 38 eval <<" EOSUB"; 39 sub $method { shift->memcached_$method(\@_ ) }39 sub $method { shift->memcached_$method(\@_[0, 1], int(\$_[2] || 0)) } 40 40 EOSUB 41 41 die if $@; … … 147 147 } 148 148 149 sub delete { shift->memcached_delete($_[0], int($_[1] || 0)) } 150 149 151 sub incr 150 152 {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)