pkgsrc/devel/p5-File-ShareDir/DESCR
tonnerre f7d829e4c7 Import the File-ShareDir Perl module. This module can be used to portably
discover the directory for shared files (equivalent to /usr/share) and
is required for current versions of rt3.
2008-08-20 22:13:52 +00:00

12 lines
595 B
Text

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.