Help for this page

Select Code to Download


  1. or download this
    $S{light}->($self, 10);
    
  2. or download this
    $self->light(10)
    
  3. or download this
    sub AUTOLOAD {
        my $self = shift;
    ...
        # Call the appropriate method
        return $S{$name}->($self, @args);
    }
    
  4. or download this
    $obj->light(10);
    
  5. or download this
    foreach my $name (@names) { 
        my $name = $S{$name};
    }