Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Number of times I've used goto in Perl

by LanX (Saint)
on Sep 26, 2018 at 11:37 UTC ( [id://1223054]=note: print w/replies, xml ) Need Help??


in reply to Re: Number of times I've used goto in Perl
in thread Number of times I've used goto in Perl

> Surprisingly nobody has commented on this nice use of the goto Function

Because nobody wanted to miss the point?

That's a very different kind of semantics which could easily be bound to another keyword like "call".

Perl has many examples of multiple semantics, e.g. eval

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^2: Number of times I've used goto in Perl

Replies are listed 'Best First'.
Re^3: Number of times I've used goto in Perl
by HugoNo1 (Novice) on Sep 26, 2018 at 12:33 UTC

    I got a syntax error because of detail that I might have missed out.
    And I searched on Google about it, but I could not find anything suitable Example about the correct usage.

    Actually I'm doing you a favor to the PerlMonks and to Perl with documenting this usage with useful examples.

    > > Surprisingly nobody has commented on this nice use of the goto Function
    > Because nobody wanted to miss the point?

    https://www.perlmonks.org/?node_id=1208600
    So, I notice more and more why this statement

    • is true
    • was commented anonymously

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1223054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-23 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found