Debian Codegraph @

README

raw
1 Try-Tiny-SmartCatch
2
3 Lightweight Perl module for powerful exceptions handling.
4
5 Provides set of functions (by default):
6 * try
7 * catch_when
8 * catch_default
9 * then
10 * finally
11
12 Also you can request to import "throw" function (currently it is an alias
13 for "die", but more explicit):
14 use Try::Tiny::Extended qw/:all/;
15
16 Try::Tiny::SmartCatch give you the same posibilities as Try::Tiny, but
17 also allow you to catch only certain types of exceptions.
18 Additionally change a little it's syntax to use explicit sub blocks.
19
20 INSTALLATION
21
22 To install this module, run the following commands:
23
24 perl Makefile.PL
25 make
26 make test
27 make install
28
29 Or just:
30 cpan Try::Catch::SmartCatch
31
32 :)
33
34 SUPPORT AND DOCUMENTATION
35
36 After installing, you can find documentation for this module with the
37 perldoc command.
38
39 perldoc Try::Tiny::SmartCatch
40
41 You can also look for information at:
42
43 Try::Tiny::SmartCatch home & source code
44 https://github.com/mysz/try-tiny-smartcatch
45
46 Issue tracker (report bugs here)
47 https://github.com/mysz/try-tiny-smartcatch/issues
48
49 LICENSE AND COPYRIGHT
50
51 Copyright (c) 2012 Marcin Sztolcman. All rights reserved.
52
53 Base code is borrowed from Yuval Kogman L<Try::Tiny> module,
54 released under MIT License.
55
56 This program is free software; you can redistribute
57 it and/or modify it under the terms of the MIT license.