Perl has three forms of
goto
:
got
LABLE
,
goto
EXPR
, and
goto
&NAME
:
Serial number | Goto Typ |
|---|---|
1 | Goto LABEL finds the statement marked LABEL and re-executes it from there. |
2 | The goto EXPR goto EXPR form is only a general form of goto LABEL. It expects the expression to generate a tag name and jump to that tag to execute. |
3 | Goto & NAME it replaces a running child process with a call to a named childprocess. |