/[cvs]/nfo/perl/libs/Data/Rap/Command.pm
ViewVC logotype

Diff of /nfo/perl/libs/Data/Rap/Command.pm

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

revision 1.7 by joko, Tue May 13 07:52:14 2003 UTC revision 1.8 by joko, Mon Jun 7 16:45:56 2004 UTC
# Line 2  Line 2 
2  ##  $Id$  ##  $Id$
3  ## ----------------------------------------------------------------------  ## ----------------------------------------------------------------------
4  ##  $Log$  ##  $Log$
5    ##  Revision 1.8  2004/06/07 16:45:56  joko
6    ##  now propagates args to "rapcall method"
7    ##
8  ##  Revision 1.7  2003/05/13 07:52:14  joko  ##  Revision 1.7  2003/05/13 07:52:14  joko
9  ##  enhanced: *hierarchical* containers for context handling  ##  enhanced: *hierarchical* containers for context handling
10  ##  making methods from foreign context(s) available  ##  making methods from foreign context(s) available
# Line 306  sub _rapcall { Line 309  sub _rapcall {
309        # V1 - no arguments were being propagated        # V1 - no arguments were being propagated
310        #$self->{$refkey}->$method();        #$self->{$refkey}->$method();
311        # V2 - trying this....        # V2 - trying this....
312        $self->{$refkey}->$method();        $self->{$refkey}->$method($args->{args});
313    
314      } elsif (my $ref = $self->getInstance()) {      } elsif (my $ref = $self->getInstance()) {
315        $ref->$method();        $ref->$method($args->{args});
316      }      }
317            
318      return;      return;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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