Install libwww-mechanize-shell-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libwww-mechanize-shell-perl
Description:
interactive shell for WWW::Mechanize
WWW::Mechanize::Shell implements a www-like shell above WWW::Mechanize and also has the capability to output crude Perl code that recreates the recorded session. Its main use is as an interactive starting point for automating a session through WWW::Mechanize. . The cookie support is there, but no cookies are read from your existing browser sessions. See HTTP::Cookies on how to implement reading/writing your current browsers cookies.
Homepage: https://metacpan.org/release/WWW-Mechanize-Shell
Version: 0.56-1
Section: universe/perl