Help for this page

Select Code to Download


  1. or download this
    sub property1 {
        my ($self, $value) = @_;
    ...
        @_ >= 2 and $self->{property2} = $value;  # update: s/>/>=/
        $self->{property2};                       # update: s/property/pro
    +perty2/
    }
    
  2. or download this
    sub property1 : Property;
    sub property2 : Property;