in reply to Re^2: Perl try { } catch(e) { }
in thread Perl try { } catch(e) { }
"Aaaaahh I think I understood ..."
I don't (for the moment) - but i don't care about and just do:
#!/usr/bin/env perl use strict; use warnings; use Try::Tiny; try { die qq(Goodbye World!); } catch { warn $_; }; __END__
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl try { } catch(e) { }
by jdeguest (Beadle) on Mar 24, 2021 at 03:29 UTC | |
by haukex (Archbishop) on Mar 24, 2021 at 08:51 UTC | |
by jdeguest (Beadle) on Jun 17, 2021 at 02:47 UTC | |
by haukex (Archbishop) on Jun 17, 2021 at 08:57 UTC | |
by jdeguest (Beadle) on Jun 18, 2021 at 11:53 UTC | |
by Haarg (Priest) on Jun 18, 2021 at 04:10 UTC | |
by jdeguest (Beadle) on Jun 18, 2021 at 11:31 UTC | |
Re^4: Perl try { } catch(e) { }
by karlgoethebier (Abbot) on Mar 24, 2021 at 21:44 UTC |