How to Install libtest-lwp-useragent-perl in Ubuntu 18.04



Install libtest-lwp-useragent-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libtest-lwp-useragent-perl

Description:

module for simulating and testing network calls

Test::LWP::UserAgent useful for testing PSGI applications, for simulating a server so as to test client code, route some or all requests through the network as normal, but still gain the hooks provided by this class to test what was sent and received. . Note that LWP::UserAgent itself is not monkey-patched - use this module (or a subclass) to send request, or it cannot be caught and processed.

Homepage: https://metacpan.org/release/Test-LWP-UserAgent

Version: 0.033-1

Section: universe/perl