Help for this page

Select Code to Download


  1. or download this
     Inside Object2:
       sub setsomething {
          my $self = shift;
          $self->{_object1}->{mode} = 1;
       }
    
  2. or download this
    sub mode
    {
    ...
      $self->{mode} = $_[0] if (@_);
      $self->{mode};
    }
    
  3. or download this
    $self->{_object1}->{mode} = 1;
    
  4. or download this
    $self->{_object1}->mode(1);