Locate per-dist and per-module shared files

Edit Package perl-File-ShareDir
https://metacpan.org/release/File-ShareDir

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.

Refresh
Refresh
Source Files
Filename Size Changed
File-ShareDir-1.118.tar.gz 0000029631 28.9 KB
cpanspec.yml 0000000786 786 Bytes
perl-File-ShareDir.changes 0000005709 5.58 KB
perl-File-ShareDir.spec 0000003840 3.75 KB
Revision 25 (latest revision is 26)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 843339 from Tina Müller's avatar Tina Müller (tinita) (revision 25)
- updated to 1.118
   see /usr/share/doc/packages/perl-File-ShareDir/Changes
  1.118	2020-10-21
      - Releasing 1.117_001 without further changes
  1.117_001	2020-09-25
      - fix failing test of dependencies after in 1.116 (from 1.112),
        thanks to Dirk Stöcker for reporting via RT#127376 and
        Mohammad S Anwar (@manwar) for providing the fix via Github
        PR#14
      - Fix RT#133368 (PR#15): Fix running tests in parallel submitted
        by Kent Fredric (KENTNL) and fix provided by Tom Hukins (@tomhukins)
      - Fix RT#125907: spelling error in manpage - thanks to Lucas Kanashiro
        for reporting and Graham Knop (@haarg) for kicking me by submitting
        PR#17
Comments 0
openSUSE Build Service is sponsored by