/[cvs]/nfo/perl/libs/Data/Storage/Result/Tangram.pm
ViewVC logotype

Diff of /nfo/perl/libs/Data/Storage/Result/Tangram.pm

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

revision 1.4 by joko, Thu Mar 27 15:31:15 2003 UTC revision 1.6 by joko, Wed Apr 9 07:11:01 2003 UTC
# Line 3  Line 3 
3  #  $Id$  #  $Id$
4  #  #
5  #  $Log$  #  $Log$
6    #  Revision 1.6  2003/04/09 07:11:01  joko
7    #  minor fix
8    #
9    #  Revision 1.5  2003/04/09 02:09:47  joko
10    #  bugfix: check for existance of '->close'-method before calling it on the 'RESULTHANDLE'-instance
11    #
12  #  Revision 1.4  2003/03/27 15:31:15  joko  #  Revision 1.4  2003/03/27 15:31:15  joko
13  #  fixes to modules regarding new namespace(s) below Data::Mungle::*  #  fixes to modules regarding new namespace(s) below Data::Mungle::*
14  #  #
# Line 31  use Data::Mungle::Compare::Struct qw( is Line 37  use Data::Mungle::Compare::Struct qw( is
37  sub DESTROY {  sub DESTROY {
38    my $self = shift;    my $self = shift;
39    #$logger->debug( __PACKAGE__ . "->" . "DESTROY" );    #$logger->debug( __PACKAGE__ . "->" . "DESTROY" );
40    $self->{RESULTHANDLE} && $self->{RESULTHANDLE}->close();    $self->{RESULTHANDLE} && $self->{RESULTHANDLE}->can('close') && $self->{RESULTHANDLE}->close();
41  }  }
42    
43  sub getNextEntry {  sub getNextEntry {
# Line 67  sub getNextEntry { Line 73  sub getNextEntry {
73  sub getStatus {  sub getStatus {
74    my $self = shift;    my $self = shift;
75    my $status;    my $status;
76      
77      $self->{resulthandle_type} ||= '';
78      
79    if ($self->{resulthandle_type} eq 'Tangram::Cursor') {    if ($self->{resulthandle_type} eq 'Tangram::Cursor') {
80  =pod  =pod
81      print Dumper($self->{RESULTHANDLE});      print Dumper($self->{RESULTHANDLE});

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

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