Changeset 11216 for lang/perl/Punc

Show
Ignore:
Timestamp:
05/06/08 20:54:29 (7 months ago)
Author:
mizzy
Message:

Punc::Slave::Module の exec メソッドは不要だった

Location:
lang/perl/Punc/trunk/lib/Punc/Slave
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Punc/trunk/lib/Punc/Slave/Daemon.pm

    r11215 r11216  
    103103        my $module_to_delegate = $obj->delegate; 
    104104        if ( $module_to_delegate ) { 
    105             $res = $module_to_delegate->exec($method, $args); 
     105            $res = $module_to_delegate->$method($args); 
    106106        } 
    107107        else { 
  • lang/perl/Punc/trunk/lib/Punc/Slave/Module.pm

    r11215 r11216  
    4949} 
    5050 
    51 sub exec { 
    52     my ( $self, $method, $args ) = @_; 
    53     $self->$method($args); 
    54 } 
    55  
    5651sub description { 
    5752    my $class = shift;