> Is this something which should be handled differently in the module
itself?

Possibly. But what the author considers to be fatal is up to them so I
wouldn’t say “should” but “could” ... that’s why Perl has eval ;-).

You can go into the module code, find the “die” and change it “warn” maybe.
It’d just be a mod you’d have to maintain. You could also go to cpan and
offer a suggestion to the author(s) or even a patch. TIMTOWTDI

On Thu, Aug 29, 2019 at 11:20 AM Lars Noodén <lars.noo...@gmail.com> wrote:

> On 8/28/19 7:33 PM, Andy Bach wrote:
> > Look at eval blocks - lets you trap fatal errors from other code and not
> > die/abort yourself.
> > https://perldoc.perl.org/functions/eval.html
>
> Thanks.  I went with an eval block since it was very quick to set up.
>
> > You can also wrie your own signal handling code
> >
> https://www.perl.com/article/37/2013/8/18/Catch-and-Handle-Signals-in-Perl/
>
> Is this something which should be handled differently in the module itself?
>
> /Lars
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
> --
Andy Bach
afb...@gmail.com
Not at my desk

Reply via email to