Help for this page

Select Code to Download


  1. or download this
    sub accessor {
        my $self = shift;
        $self -> {key} = shift if @_;
        $self -> {key}
    }
    
  2. or download this
        $obj -> accessor ("value");
    
  3. or download this
        $obj -> {key} = "value";