/[cvs]/nfo/perl/libs/Data/Storage/Handler/Abstract.pm
ViewVC logotype

Diff of /nfo/perl/libs/Data/Storage/Handler/Abstract.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by joko, Sun Dec 1 22:19:33 2002 UTC revision 1.6 by joko, Tue Dec 3 15:52:24 2002 UTC
# Line 3  Line 3 
3  #  $Id$  #  $Id$
4  #  #
5  #  $Log$  #  $Log$
6    #  Revision 1.6  2002/12/03 15:52:24  joko
7    #  + fix/feature: if dispatching to deep core method fails (is not declared), try method at Data::Storage - level
8    #
9  #  Revision 1.5  2002/12/01 22:19:33  joko  #  Revision 1.5  2002/12/01 22:19:33  joko
10  #  + just disconnect if COREHANDLE exists  #  + just disconnect if COREHANDLE exists
11  #  #
# Line 123  sub AUTOLOAD { Line 126  sub AUTOLOAD {
126            
127      # method calls doing it until here will get dispatched to the proper handler      # method calls doing it until here will get dispatched to the proper handler
128      return $self->{COREHANDLE}->$methodname(@_);      return $self->{COREHANDLE}->$methodname(@_);
129      
130      } elsif ($self->can($methodname)) {
131        return $self->$methodname(@_);
132    }    }
133    
134  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed