1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY my-download-http "&metacpan_authors;/E/ET/ETHER/Try-Tiny-&Try-Tiny-version;.tar.gz">
|
---|
8 | <!ENTITY my-md5sum "993a29ee8a03c9bd9c2f7c53d1082a03">
|
---|
9 |
|
---|
10 | ]>
|
---|
11 |
|
---|
12 | <!-- Begin Try::Tiny -->
|
---|
13 | <sect2 id="perl-try-tiny" xreflabel="Try-Tiny-&Try-Tiny-version;">
|
---|
14 |
|
---|
15 | <title>Try::Tiny-&Try-Tiny-version;</title>
|
---|
16 |
|
---|
17 | <indexterm zone="perl-try-tiny">
|
---|
18 | <primary sortas="a-Try-Tiny">Try::Tiny</primary>
|
---|
19 | </indexterm>
|
---|
20 |
|
---|
21 | <sect3 role="package">
|
---|
22 | <title>Introduction to Try::Tiny</title>
|
---|
23 |
|
---|
24 | <para>
|
---|
25 | Try::Tiny provides <command>try</command> and <command>catch</command>
|
---|
26 | to expect and handle exceptional conditions, avoiding quirks in
|
---|
27 | <application>Perl</application> and common mistakes.
|
---|
28 | </para>
|
---|
29 |
|
---|
30 | &lfs122_checked;
|
---|
31 |
|
---|
32 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
33 | <itemizedlist spacing="compact">
|
---|
34 | <listitem>
|
---|
35 | <para>
|
---|
36 | Download (HTTP): <ulink url="&my-download-http;"/>
|
---|
37 | </para>
|
---|
38 | </listitem>
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download MD5 sum: &my-md5sum;
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | </itemizedlist>
|
---|
45 |
|
---|
46 | <bridgehead renderas="sect4">Try::Tiny Dependencies</bridgehead>
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect5">Optional (can be used by the test suite)</bridgehead>
|
---|
49 | <para role="optional">
|
---|
50 | <!-- runs one more test if this is present -->
|
---|
51 | <xref linkend="perl-capture-tiny"/>
|
---|
52 | </para>
|
---|
53 |
|
---|
54 | </sect3>
|
---|
55 |
|
---|
56 | <sect3 role="installation">
|
---|
57 | <title>Installation of Try::Tiny</title>
|
---|
58 |
|
---|
59 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
60 | href="../../../xincludes/perl-standard-install.xml"/>
|
---|
61 |
|
---|
62 | </sect3>
|
---|
63 |
|
---|
64 | </sect2>
|
---|