1    Installing Task-Tiny should be straightforward.
2
3INSTALLATION WITH CPANMINUS
4    If you have cpanm, you only need one line:
5
6            % cpanm Task::Tiny
7
8    If you are installing into a system-wide directory, you may need to pass
9    the "-S" flag to cpanm, which uses sudo to install the module:
10
11            % cpanm -S Task::Tiny
12
13INSTALLATION WITH THE CPAN SHELL
14    Alternatively, if your CPAN shell is set up, you should just be able to
15    do:
16
17            % cpan Task::Tiny
18
19MANUAL INSTALLATION
20    As a last resort, you can manually install it. Download the tarball and
21    unpack it.
22
23    Consult the file META.json for a list of pre-requisites. Install these
24    first.
25
26    To build Task-Tiny:
27
28            % perl Makefile.PL
29            % make && make test
30
31    Then install it:
32
33            % make install
34
35    If you are installing into a system-wide directory, you may need to run:
36
37            % sudo make install
38
39OPTIONAL FEATURES
40    Task-Tiny provides several optional features, which may require additional
41    pre-requisites. These features are:
42
43    *   Filesys (File system manipulation)
44
45    *   HTTP (Web stuff)
46
47    *   JSON (JSON stuff)
48
49    *   Objects (Framework for OO programming)
50
51    *   Types (Type constraint framework)
52
53    *   Util (General utilities)
54
55    *   YAML (YAML stuff)
56
57    cpanminus 1.7000 and above support installing optional features:
58
59            % cpanm --with-feature=Filesys Task::Tiny
60
61    Otherwise, Makefile.PL can prompt you to select features. Set the
62    `MM_INSTALL_FEATURES` environment variable to "1" before running
63    Makefile.PL.
64
65