On 02.07.2017 22:02, Eric Brine wrote:
> `eval BLOCK` is very different `eval EXPR`. 
> 
> The latter involves the need to generate Perl code, and ask the related
> risks. That's not the case for the former, which is the right tool for
> the job here. 
> 

Thank you very much for your answer. I have decided to solve my problem
by using a block eval, probably with a local DIE handler added in the
block (but still thinking about whether this is necessary - I won't use
other DIE handlers and don't need to "catch errors" at any other places).

Regards,

Binarus

Reply via email to