How to Install libfile-listing-perl in Ubuntu 18.04



Install libfile-listing-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libfile-listing-perl

Description:

module to parse directory listings

File::Listing exports a single function called parse_dir(), which can be used to parse directory listings. . The first parameter to parse_dir() is the directory listing to parse. It can be a scalar, a reference to an array of directory lines or a glob representing a filehandle to read the directory listing from. . The second parameter is the time zone to use when parsing time stamps in the listing. If this value is undefined, then the local time zone is assumed. . The third parameter is the type of listing to assume. Currently supported formats are 'unix', 'apache' and 'dosftp'. The default value 'unix'.

Homepage: http://search.cpan.org/dist/File-Listing/

Version: 6.04-1

Section: perl