Hi!

On Sun, Jul 02, 2017 at 11:59:56AM +0200, Binarus wrote:

> - Most people recommend to "catch the error" DateTime throws when
> encountering such date-times, but if I got it right, that always
> involves eval, even when using modules like Try:Tiny and the like, so I
> don't want to do that.

As somebody who most likely started on of the threads you mentioned, I 
have to say that using eval is (as Zefram already said) the right 
answer.

I do not know why you do not want to use eval, it's very stable 
(esp. in recent Perls) and not at all slow and dangerous. 

Greetings,
domm


-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to