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.