To install Test::HTTP::LocalServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::HTTP::LocalServer
CPAN shell
perl -MCPAN -e shell install Test::HTTP::LocalServer
For more information on module installation, please visit the detailed CPAN module installation guide.