Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Goto-labels for exception handling?

by Anonymous Monk
on May 10, 2018 at 00:03 UTC ( #1214301=note: print w/replies, xml ) Need Help??


in reply to Goto-labels for exception handling?

"Exceptions" are ... well ... by definition ... "exceptions to the rule." When an exception occurs, the interpreter finds itself in a state wherein it must somehow dispose of the exception before further execution can resume. I therefore do not envision this situation as being one which can possibly, meaningfully, involve a goto. If such a thing were reasonable, it would have been implemented long before now, and probably would have become standard practice. The fact that, right now, such a thing is not, is probably also very meaningful . . .
  • Comment on Re: Goto-labels for exception handling?

Replies are listed 'Best First'.
Re^2: Goto-labels for exception handling?
by LanX (Archbishop) on May 10, 2018 at 00:26 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2019-07-23 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (24 votes). Check out past polls.

    Notices?