Help for this page

Select Code to Download


  1. or download this
    sub input    {                    ...; return $value;  }
    sub process1 { my ($input ) = @_; ...; return $result; }
    ...
          )
       )
    );
    
  2. or download this
    sub input    { my (        $c) = @_; ...; &$c($value ); }
    sub process1 { my ($input, $c) = @_; ...; &$c($result); }
    ...
          ) }
       ) }
    );
    
  3. or download this
    sub input    { my (        $c) = @_; ...; @_ = ($value ); goto(&$c); }
    sub process1 { my ($input, $c) = @_; ...; @_ = ($result); goto(&$c); }
    ...
          ) }
       ) }
    );
    
  4. or download this
    goto line1;
    
    ...
    line2: { push(@_, 'line3'); goto process1; }
    line3: { push(@_, 'line4'); goto process2; }
    line4: {                    goto output;   }