Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-File-Listing-6.04-1.23 RPM for noarch

From OpenSuSE Leap 15.4 for noarch

Name: perl-File-Listing Distribution: SUSE Linux Enterprise 15
Version: 6.04 Vendor: SUSE LLC <https://www.suse.com/>
Release: 1.23 Build date: Fri May 25 20:19:33 2018
Group: Development/Libraries/Perl Build host: sheep08
Size: 16459 Source RPM: perl-File-Listing-6.04-1.23.src.rpm
Packager: https://www.suse.com/
Url: http://search.cpan.org/dist/File-Listing/
Summary: parse directory listing
This module 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 is 'unix'.
Ideally, the listing type should be determined automatically.

The fourth parameter specifies how unparseable lines should be treated.
Values can be 'ignore', 'warn' or a code reference. Warn means that the
perl warn() function will be called. If a code reference is passed, then
this routine will be called and the return value from it will be
incorporated in the listing. The default is 'ignore'.

Only the first parameter is mandatory.

The return value from parse_dir() is a list of directory entries. In a
scalar context the return value is a reference to the list. The directory
entries are represented by an array consisting of [ $filename, $filetype,
$filesize, $filetime, $filemode ]. The $filetype value is one of the
letters 'f', 'd', 'l' or '?'. The $filetime value is the seconds since Jan
1, 1970. The $filemode is a bitmask like the mode returned by stat().

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Thu Feb 16 2012 coolo@suse.com
  - updated to 6.04
      Minor mistake in module description
      Test parsing of dosftp listings
      This modulue works with 5.6.2
* Mon Dec 19 2011 coolo@suse.de
  - update to 6.03
      Minor mistake in module description
      Fixes to the parsing of 'ls -l' file modes [RT#71054]
* Thu Mar 31 2011 coolo@novell.com
  - update to 6.02
    Avoid running live test.  Embed the expected test data in the test file.
    Update the test data inline by invoking 'perl t/apache.t --update'.
* Mon Mar 14 2011 vcizek@novell.com
  - initial package 6.01
    * created by cpanspec 1.78.03

Files

/usr/lib/perl5/vendor_perl/5.26.1/File
/usr/lib/perl5/vendor_perl/5.26.1/File/Listing.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-File-Listing
/usr/share/doc/packages/perl-File-Listing/Changes
/usr/share/doc/packages/perl-File-Listing/README
/usr/share/man/man3/File::Listing.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 17:06:41 2024