libtrycatch-perl - first class try catch semantics for Perl

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libtrycatch-perl
Package version: 1.003002
Package release: 2+b1
Package architecture: amd64
Package type: deb
Installed size: 43 B
Download size: 21.71 KB
Official Mirror:
TryCatch aims to provide a nicer syntax and method to catch errors in Perl, similar to what is found in other languages (such as Java, Python or C++). The standard method of using "eval {}; if ($@) {}" is often prone to subtle bugs, primarily that its far too easy to stomp on the error in error handlers. And also eval/if isn't the nicest idiom.



    Source package: libtrycatch-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libtrycatch-perl deb package:
      # sudo apt-get install libtrycatch-perl


    • /usr/lib/x86_64-linux-gnu/perl5/5.20/
    • /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/TryCatch/
    • /usr/share/doc/libtrycatch-perl/README
    • /usr/share/doc/libtrycatch-perl/buildinfo_amd64.gz
    • /usr/share/doc/libtrycatch-perl/changelog.Debian.amd64.gz
    • /usr/share/doc/libtrycatch-perl/changelog.Debian.gz
    • /usr/share/doc/libtrycatch-perl/changelog.gz
    • /usr/share/doc/libtrycatch-perl/copyright
    • /usr/share/man/man3/TryCatch.3pm.gz


    2014-08-11 - gregor herrmann <> libtrycatch-perl (1.003002-2) unstable; urgency=low * Team upload. [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ gregor herrmann ] * Use $Config{vendorarch} to get library path in debian/rules.

    2013-05-06 - Jonas Smedegaard <> libtrycatch-perl (1.003002-1) unstable; urgency=low [ upstream ] * New realease. + Fix (the test failure in t/invalid where) syntax errors are reported from the wrong location. + Fix the xml_sax_expat test to check for dependencies correctly. [ Gregor Herman ] * Remove debian/source/local-options: abort-on-upstream-changes and unapply-patches are default in dpkg-source since 1.16.1. [ Salvatore Bonaccorso ] * Use canonical hostname ( in Vcs-Git URI. [ Xavier Guimard ] * Update copyright file: + Add Berne convention comment to inc/EUDeps/ExtUtils/ [ Jonas Smedegaard ] * Update copyright file: + Add github URL as alternate source. * Use canonical hostname ( in Vcs-Bowser URI. * Update package relations: + (Build-)depend on recent libnamespace-clean-perl. + Fix (build-)depend on recent libextutils-depends-perl. + Fix (build-)depend versioned on libb-hooks-op-check-perl: Needed version not satisfied in stable. + Tighten (build-)dependency on libb-hooks-endofscope-perl: Version now needed not satisfied in stable. + Build-depend on libxml-sax-expat-perl and libxml-sax-base-perl. + Relax to build-depend unversioned on debhelper, cdbs and devscripts: Needed versions satisfied in stable, and oldstable no longer supported. * Add README.source emphasizing file as *not* a show-stopper for contributions, referring to wiki page for details. * Bump packaging license to GPL-3+. * Extend copyright coverage for packaging to include current year.

    2011-05-14 - Jonas Smedegaard <> libtrycatch-perl (1.003000-1) unstable; urgency=low * Initial packaging release. Closes: bug#626702.