Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Goto-labels for exception handling?

by Anonymous Monk
on May 10, 2018 at 00:03 UTC ( [id://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 (Saint) on May 10, 2018 at 00:26 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found