alle opties
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: libtry-tiny-smartcatch-perl  ]

Pakket: libtry-tiny-smartcatch-perl (0.5-4)

Verwijzigingen voor libtry-tiny-smartcatch-perl

Screenshot

Debian bronnen:

Het bronpakket libtry-tiny-smartcatch-perl downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

lightweight Perl module for powerful exceptions handling

Try::Tiny::SmartCatch's goals are mostly the same as Try::Tiny module, but there are few changes to it's specification. Main difference is possibility to catch just some kinds of exceptions in place of catching everything. Another one is slightly changed syntax.

When raised exception is an object, Try::Tiny::SmartCatch will test for exception type (using UNIVERSAL::isa). When raised exception is just a text message (like "die ('message')"), there can be specified part of message to test for.

There are also explicit sub blocks. In opposite to Try::Tiny, every block in Try::Tiny::SmartCatch's "try", "catch_when", "catch_default", "then" and "finally" must have explicit subroutines specified.

Tags: Softwareontwikkeling: Ontwikkelen in Perl, Bibliotheken, Implemented in: Perl

Andere aan libtry-tiny-smartcatch-perl gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

libtry-tiny-smartcatch-perl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 16,0 kB40,0 kB [overzicht]