SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-File-ShareDir rpm build for : OpenSuSE 13.X. For other distributions click perl-File-ShareDir.

Name : perl-File-ShareDir
Version : 1.102 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 22.2 Date : 2016-11-25 09:05:40
Group : Development/Libraries/Perl Source RPM : perl-File-ShareDir-1.102-22.2.src.rpm
Size : 0.02 MB
Packager : (none)
Summary : Locate per-dist and per-module shared files
Description :
The intent of the File::ShareDir manpage is to provide a companion to the
Class::Inspector manpage and the File::HomeDir manpage, 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.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_13.1/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(File::ShareDir)
perl-File-ShareDir

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
perl(Class::Inspector) => 1.12
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(:MODULE_COMPAT_5.18.1)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.18.1/File
/usr/lib/perl5/vendor_perl/5.18.1/File/ShareDir.pm
/usr/lib/perl5/vendor_perl/5.18.1/auto/share
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/dist
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/dist/File-ShareDir
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/dist/File-ShareDir/sample.txt
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/dist/File-ShareDir/subdir
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/dist/File-ShareDir/subdir/sample.txt
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/module
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/module/File-ShareDir
/usr/lib/perl5/vendor_perl/5.18.1/auto/share/module/File-ShareDir/test_file.txt
/usr/lib/perl5/vendor_perl/5.18.1/i586-linux-thread-multi
/usr/share/doc/packages/perl-File-ShareDir
/usr/share/doc/packages/perl-File-ShareDir/Changes
/usr/share/man/man3/File::ShareDir.3pm.gz

 
ICM