1Module::Install::CatalyUsste(r3)Contributed Perl DocumenMtoadtuiloen::Install::Catalyst(3)
2
3
4

NAME

6         Module::Install::Catalyst - Module::Install extension for Catalyst
7

SYNOPSIS

9         use inc::Module::Install;
10
11         name 'MyApp';
12         all_from 'lib/MyApp.pm';
13
14         requires 'Catalyst::Runtime' => '5.7014';
15
16         catalyst_ignore('.*temp');
17         catalyst_ignore('.*tmp');
18         catalyst;
19         WriteAll;
20

DESCRIPTION

22       Module::Install extension for Catalyst.
23

METHODS

25   catalyst
26       Calls catalyst_files and catalyst_par. Should be the last catalyst*
27       command called in "Makefile.PL".
28
29   catalyst_files
30       Collect a list of all files a Catalyst application consists of and copy
31       it inside the blib/lib/ directory. Files and directories that match the
32       modules ignore list are excluded (see catalyst_ignore and
33       catalyst_ignore_all).
34
35   catalyst_ignore_all(\@ignore)
36       This function replaces the built-in default ignore list with the given
37       list.
38
39   catalyst_ignore(\@ignore)
40       Add a regexp to the list of ignored patterns. Can be called multiple
41       times.
42
43   catalyst_par($name)
44   catalyst_par_core($core)
45   catalyst_par_classes(@clases)
46   catalyst_par_engine($engine)
47   catalyst_par_multiarch($multiarch)
48   catalyst_par_options($optstring)
49       This command can be used in Makefile.PL to customise the PAR creation
50       process.  The parameter "$optstring" contains a string with arguments
51       in identical syntax as arguments of pp command from PAR::Packer
52       package.
53
54       Example:
55
56           # part of your Makefile.PL
57
58           catalyst_par_options("--verbose=2 -f Bleach -z 9");
59           # verbose mode; use filter 'Bleach'; zip with compression level 9
60           catalyst;
61
62       Note1: There is no reason to use catalyst_par_options() command
63       multiple times as you can spacify in "$optstring" as many options as
64       you want. Still, it is supported to call catalyst_par_options() more
65       than once. In that case the specified options are merged (collisions
66       are handled on principle "later wins").  BEWARE: you are discouraged
67       from using parameters -a -A -X -f -F -I -l -M in multiple
68       catalyst_par_options() as they are not merged but replaced as you would
69       expected.
70
71       Note2: By default the options "-x -p -o=<appname>.par" are set and
72       option "-n" is unset. This default always overrides whatever you
73       specify by catalyst_par_options().
74
75   catalyst_par_script($script)
76   catalyst_par_usage($usage)

AUTHORS

78       Catalyst Contributors, see Catalyst.pm
79

LICENSE

81       This library is free software. You can redistribute it and/or modify it
82       under the same terms as Perl itself.
83
84
85
86perl v5.12.0                      2010-01-28      Module::Install::Catalyst(3)
Impressum