1 2This is the Perl distribution Log-Dispatch. 3 4Installing Log-Dispatch is straightforward. 5 6## Installation with cpanm 7 8If you have cpanm, you only need one line: 9 10 % cpanm Log::Dispatch 11 12If you are installing into a system-wide directory, you may need to pass the 13"-S" flag to cpanm, which uses sudo to install the module: 14 15 % cpanm -S Log::Dispatch 16 17## Installing with the CPAN shell 18 19Alternatively, if your CPAN shell is set up, you should just be able to do: 20 21 % cpan Log::Dispatch 22 23## Manual installation 24 25As a last resort, you can manually install it. Download the tarball, untar it, 26then build it: 27 28 % perl Makefile.PL 29 % make && make test 30 31Then install it: 32 33 % make install 34 35If you are installing into a system-wide directory, you may need to run: 36 37 % sudo make install 38 39## Documentation 40 41Log-Dispatch documentation is available as POD. 42You can run perldoc from a shell to read the documentation: 43 44 % perldoc Log::Dispatch 45