Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.284.312 Times

Error::TryCatch 0.07

Company: Nilson Santos Figueiredo J?“N”nior
Date Added: November 24, 2013  |  Visits: 217

Error::TryCatch

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)

Error::TryCatch is a Perl module that implements exception handling (try-catch) blocks functionality with an interface similiar to Error.pm (in fact, it's almost a drop-in replacement). The main difference is that it's a source filter module.<br /><br />As a source filter it can implement the same convenient interface without those nasty memory leaks and implicit anonymous subroutines (which can trick you, if you're not careful). Also after source parsing it converts the code into "native" perl code, so it's probably a little faster than Error.pm's approach.<br /><br />And, well. As far as I can tell, Error::TryCatch accomplishes its duty nicely.<br /><br />SYNOPSIS<br /><br /> use Error::TryCatch;<br /> try {<br /> dangerous_code();<br /> even_more_dangerous_code();<br /> throw new Error::Generic<br /> -text => "well, no one can live in danger forever";<br /> }<br /> catch Error::Unhandled with {<br /> # normal die()s are translated into Error::Unhandled exceptions<br /> print "caught an unhandled perl exception: $@n";<br /> }<br /> catch Error::NewExceptionClass with {<br /> # code that handles Error::NewExceptionClass<br /> }<br /> catch Error::YetAnotherExceptions {<br /> # note that 'with' is optional (this differs from Error.pm)<br /> }<br /> otherwise {<br /> # catch any other exception which might not have been caught<br /> my $exception_class = ref($@};<br /> print "someone has thrown a $exception_class exception: $@n";<br /> }<br /> finally {<br /> clean_up(); # which will always be executed<br /> };<br /> # don't forget the trailing ';' otherwise bad things *will* happen

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Catch Error Error Trycatch Errorgeneric Errornewexceptionclass Errorpm Errortrycatch Errorunhandled Exception Exception Class Filter Handles Interface It039s Print Quotcaught Quotwell Source Throw Trycatch Unhandled
Users rating: 0/10

License: Freeware Size: 10.24 KB
ERROR::TRYCATCH RELATED
Security Tools  -  httpdwatch - apache's log file parser 0.1.0.beta
A parser that matches httpd access/error logs entries, recognizes spoiled accesses and split entries by date filter and good/bad accesses. Also feeds red and black lists to deny access. In/out paths and file names and spoiled URI can be configured.
13.7 KB  
Libraries  -  Exception::Class::TryCatch 1.10
Exception::Class::TryCatch is a syntactic try/catch sugar for use with Exception::Class. SYNOPSIS use Exception::Class::TryCatch; # simple usage of catch() eval { Exception::Class::Base->throw(error) }; catch my $err and warn $err->error;...
15.36 KB  
Libraries  -  libgpg-error 1.4
libgpg-error package contains common error codes and error handling functions used by GnuPG, Libgcrypt, GPGME and more packages. Installation: Please read the file INSTALL! Here is a quick summary: 1) Check that you have unmodified...
614.4 KB  
Libraries  -  Number::WithError 0.08
Number::WithError is a Perl module that contains numbers with error propagation and scientific rounding. SYNOPSIS use Number::WithError; my $num = Number::WithError->new(5.647, 0.31); print $num . "n"; # prints 5.65e+00 +/- 3.1e-01 #...
27.65 KB  
Multimedia & Graphics  -  proper 0.7 Alpha
proper was designed using the Python programming language as an accessible and handy Command-Line instrument that allows you to calculate error propagation. The program is also able to generate the error formulas and apply them to the data.
 
Specialized Tools  -  Fix RSS Feed Error 3.5
If you know what is rss feed, then this tool is absolutely what you need. Because if you what is an rss feed you also know how the sensitive the information inside. A lot of sites now using their RSS Feeds to exchange the information between they...
79 KB  
Modules  -  PHP Error Report 5.x-1.6 1.0
The module helps with filtering through a big number of PHP errors.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Key features "PHP Error Report": - it provides a...
 
Development Tools  -  sendTxt.exe 1.0
There's nothing worse that setting up an hour or two of number-crunching, heading out for a long lunch, and coming back to find that your script crashed a few minutes after you left.Wouldn't it be great if you could get MATLAB to send a text...
10 KB  
Development Tools  -  Doctest - embed testable examples in your function's help comments 1.0
Unit testing is great, but it can seem like overkill to make a whole new file for every test you want to run. Doctest allows you to embed tests in the documentation of your function (or class or method), so that they're in the same file as the...
20.48 KB  
Programming  -  Test::Synopsis 0.06
Test::Synopsis is a Perl test module to find .pm or .pod files under your lib directory and then make sure the example snippet code in your SYNOPSIS section passes the perl compile check. Note that this module only checks the perl...
40.96 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB