Help for this page

Select Code to Download


  1. or download this
    nodes:  input, n1, n2, output
    input => n1
    input => n2
    n1 => output
    n2 => output
    
  2. or download this
    $model->connect('input','n1');
    $model->connect('input','n2');
    $model->connect('n1','output');
    $model->connect('n2','output');
    
  3. or download this
    sub new {
        my $class = shift;
    ...
        bless $self, $class;
        return $self;
    }
    
  4. or download this
    sub name {
        my $self = shift;
        $self -> {NAME} = shift if (@_);
        return $self -> {NAME};
    }