Changeset 1140
- Timestamp:
- 02/04/08 05:40:50 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/api/perl/MogileFS-Client/lib/MogileFS/Client.pm
r1113 r1140 537 537 # handle parameters, if any 538 538 my ($noverify, $zone); 539 540 my %extra_args; 541 539 542 if (ref $opts) { 540 543 $noverify = 1 if $opts->{noverify}; … … 542 545 } else { 543 546 $noverify = 1 if $opts; 547 } 548 549 if (my $pathcount = delete $opts->{pathcount}) { 550 $extra_args{pathcount} = $pathcount; 544 551 } 545 552 … … 552 559 noverify => $noverify ? 1 : 0, 553 560 zone => $zone, 561 %extra_args, 554 562 }) or return (); 555 563
