Help for this page

Select Code to Download


  1. or download this
    $mytest = new Test();
    $mytest->name('BABA');
    $mytest->condition('TYPE1')->value('whatever');
    $mytest->special->do_something;
    $mytest->special->condition('TYPE2')->value('other');
    
  2. or download this
    package Test;
    @ISA = ("Condition");
    ...
        $self->{_list} = {@list} if defined(@list);
        return @$self->{_list};
    };
    
  3. or download this
    sub condition
    {
    ...
        $self->{_condition} = new Condition() if defined($condition);
        return $self->{_condition};
    };