./devel/p5-FindBin-libs, Locate and a use lib or export directories based on FindBin::Bin

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q1, Version: 2.19.2nb2, Package name: p5-FindBin-libs-2.19.2nb2, Maintainer: schmonz

An all-too-common occurrance managing perly projects is being unable
to install new modules becuse "it might break things", and being
unable to test them because you can't install them. The usual outcome
of this is a collection of hard-coded

use lib qw( /usr/local/projectX ... )

code at the top of each #! file that has to be updated by hand for
each new project.

To get away from this you'll often see relative paths for the lib's,
which require running the code from one specific place. All this
does is push the hard-coding into cron, shell wrappers, and begin
blocks.

With FindBin::libs you need suffer no more.


Required to run:
[sysutils/p5-File-Copy-Recursive-Reduced] [devel/p5-Module-FromPerlVer]

Master sites: (Expand)

SHA1: d3001bcc343a5e580e3e517ce2d20f937d7fb9c4
RMD160: 4c19cfe608c02a7e9eea5098cb6b3bdae1ba1b0d
Filesize: 23.627 KB

Version history: (Expand)