Changeset 351

Show
Ignore:
Timestamp:
08/15/06 22:39:29 (2 years ago)
Author:
hachi
Message:

AUTOLOAD should not handle DESTROY method, because we don't want to create a new MogileFS object on DESTROY. Heh.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/api/perl/MogileFS.pm

    r326 r351  
    338338    # remove everything up to the last colon, so we only have the method name left 
    339339    my $method = $AUTOLOAD; 
    340     $method =~ s/^.*://;  
     340    $method =~ s/^.*://; 
     341 
     342    return if $method eq 'DESTROY'; 
    341343 
    342344    # let this work