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