todas as opções
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Fonte: libtry-tiny-smartcatch-perl  ]

Pacote: libtry-tiny-smartcatch-perl (0.5-5)

Links para libtry-tiny-smartcatch-perl

Screenshot

Recursos de Debian:

Baixe o pacote-fonte libtry-tiny-smartcatch-perl:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Etiquetas: Desenvolvimento de software: Desenvolvimento Perl, Bibliotecas, Implementado em: Perl

Outros pacotes relacionados a libtry-tiny-smartcatch-perl

  • depende
  • recomenda
  • sugere
  • melhora

Download de libtry-tiny-smartcatch-perl

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 11.7 kB34.0 kB [lista de arquivos]