Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 4b531252a02a4c9e3a1ce67649aab423 > files > 5

perl-Test-Script-1.120.0-1.mga6.noarch.rpm

This is the Perl distribution Test-Script.

Installing Test-Script is straightforward.

## Installation with cpanm

If you have cpanm, you only need one line:

    % cpanm Test::Script

If you are installing into a system-wide directory, you may need to pass the
"-S" flag to cpanm, which uses sudo to install the module:

    % cpanm -S Test::Script

## Installing with the CPAN shell

Alternatively, if your CPAN shell is set up, you should just be able to do:

    % cpan Test::Script

## Manual installation

As a last resort, you can manually install it. Download the tarball, untar it,
then build it:

    % perl Makefile.PL
    % make && make test

Then install it:

    % make install

If you are installing into a system-wide directory, you may need to run:

    % sudo make install

## Documentation

Test-Script documentation is available as POD.
You can run perldoc from a shell to read the documentation:

    % perldoc Test::Script