[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#617707: ITP: libfile-listing-perl -- module to parse directory listings



Package: wnpp
Owner: Nicholas Bamber <nicholas@periapt.co.uk>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libfile-listing-perl
  Version         : 6.00
  Upstream Author : Gisle Aas <gisle@activestate.com>
* URL             : http://search.cpan.org/dist/File-Listing/
* License         : Artistic or GPL-1+
  Programming Lang: 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'. Ideally,
the listing type should be determined automatically.



Reply to: