Goto



next up previous
Next: Built-In RoutinesC Up: Flow Control Previous: The for and

Goto

Yes, Perl even has a goto statement. goto label will send control of the program to the named label. The usual caveats against GOTOs apply in Perl as elsewhere. Don't use GOTOs unless you really need them!