Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by LanX (Archbishop)
on Sep 26, 2018 at 11:37 UTC ( #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
Node Status?
node history
Node Type: note [id://1223054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2019-03-25 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (118 votes). Check out past polls.

    Notices?