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 29.654.846 Times

Error::TryCatch 0.07

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

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
USER REVIEWS
More Reviews or Write Review


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  -  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  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB