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

perl-File-ShareDir-1.104-1.22 RPM for noarch

From OpenSuSE Leap 15.5 for noarch

Name: perl-File-ShareDir Distribution: SUSE Linux Enterprise 15
Version: 1.104 Vendor: SUSE LLC <https://www.suse.com/>
Release: 1.22 Build date: Fri May 25 20:19:36 2018
Group: Development/Libraries/Perl Build host: sheep56
Size: 46220 Source RPM: perl-File-ShareDir-1.104-1.22.src.rpm
Packager: https://www.suse.com/
Url: http://search.cpan.org/dist/File-ShareDir/
Summary: Locate per-dist and per-module shared files
The intent of File::ShareDir is to provide a companion to Class::Inspector
and File::HomeDir, modules that take a process that is well-known by
advanced Perl developers but gets a little tricky, and make it more
available to the larger Perl community.

Quite often you want or need your Perl module (CPAN or otherwise) to have
access to a large amount of read-only data that is stored on the
file-system at run-time.

On a linux-like system, this would be in a place such as /usr/share,
however Perl runs on a wide variety of different systems, and so the use of
any one location is unreliable.

Perl provides a little-known method for doing this, but almost nobody is
aware that it exists. As a result, module authors often go through some
very strange ways to make the data available to their code.

The most common of these is to dump the data out to an enormous Perl data
structure and save it into the module itself. The result are enormous
multi-megabyte .pm files that chew up a lot of memory needlessly.

Another method is to put the data "file" after the __DATA__ compiler tag
and limit yourself to access as a filehandle.

The problem to solve is really quite simple.

  1. Write the data files to the system at install time.

  2. Know where you put them at run-time.

Perl's install system creates an "auto" directory for both every
distribution and for every module file.

These are used by a couple of different auto-loading systems to store code
fragments generated at install time, and various other modules written by
the Perl "ancient masters".

But the same mechanism is available to any dist or module to store any sort
of data.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Fri Jun 30 2017 coolo@suse.com
  - updated to 1.104
    see /usr/share/doc/packages/perl-File-ShareDir/Changes
* Tue Apr 14 2015 coolo@suse.com
  - updated to 1.102
    see /usr/share/doc/packages/perl-File-ShareDir/Changes
* Fri Nov 18 2011 coolo@suse.com
  - update to 1.03
    - Upgraded to Module::Install 1.00
* Tue Nov 30 2010 coolo@novell.com
  - switch to perl_requires macro
* Mon Nov 29 2010 coolo@novell.com
  - remove /var/adm/perl-modules
* Sun Nov 28 2010 coolo@novell.com
  - remove .packlist file
* Sun Mar 21 2010 lars@linux-schulserver.de
  - update to 1.02:
    + Upgraded to Module::Install 0.95
    + Removed Params::Util dep
  - removed dependency to perl-Params-Util package
* Sat Dec 26 2009 lars@linux-schulserver.de
  - initial version 1.01

Files

/usr/lib/perl5/vendor_perl/5.26.1/File
/usr/lib/perl5/vendor_perl/5.26.1/File/ShareDir.pm
/usr/lib/perl5/vendor_perl/5.26.1/auto/share
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/dist
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/dist/File-ShareDir
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/dist/File-ShareDir/sample.txt
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/dist/File-ShareDir/subdir
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/dist/File-ShareDir/subdir/sample.txt
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/module
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/module/File-ShareDir
/usr/lib/perl5/vendor_perl/5.26.1/auto/share/module/File-ShareDir/test_file.txt
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-File-ShareDir
/usr/share/doc/packages/perl-File-ShareDir/Changes
/usr/share/doc/packages/perl-File-ShareDir/README.md
/usr/share/licenses/perl-File-ShareDir
/usr/share/licenses/perl-File-ShareDir/LICENSE
/usr/share/man/man3/File::ShareDir.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 19:57:54 2024