Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: canonical doc explaing need for "eval { ... } or do {...}" construct

by ikegami (Patriarch)
on May 12, 2022 at 14:40 UTC ( [id://11143835]=note: print w/replies, xml ) Need Help??


in reply to Re^2: canonical doc explaing need for "eval { ... } or do {...}" construct
in thread canonical doc explaing need for "eval { ... } or do {...}" construct

I think the overall best solution is to mention Try::Tiny in the perldocs.

hmmm, the Perl docs probably should be in the business of recommending specific non-core modules.

Especially since Perl is getting a try keyword...

  • Comment on Re^3: canonical doc explaing need for "eval { ... } or do {...}" construct
  • Download Code

Replies are listed 'Best First'.
Re^4: canonical doc explaing need for "eval { ... } or do {...}" construct
by LanX (Saint) on May 12, 2022 at 15:03 UTC
    > Especially since Perl is getting a try keyword...

    which is naturally not backwards compatible

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      Quite the opposite. It's not any less backward compatible than creating a new module that exports try, seeing as you have to "import" it before you can use it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found