Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-FindBin-libs
From: Amitai Schlair
Date: 2014-07-28 22:09:30
Message id: 20140728200930.F213A96@cvs.netbsd.org
Log Message:
Update to 2.08. From the changelog:
2.07 Mon Jul 28 02:48:49 CDT 2014
Try one more time to deal with version issues.
2.01 Sat Jul 26 01:52:46 CDT 2014
Version numbers now come from the current build rather than Makefile.PL.
Upping the version to v2.00 makes it easier to keep track of it all.
Makefile uses stringy, .pm uses v-string.
Hopefully that will keep everyone happy.
For libs_curr:
Avoid truncating dirent's with embedded newlines in taint-hack
by using single-line mode: m{ (.+) }xs
Add "scalar" option to export the first directory found only as
a scalar (vs list). Mainly useful with things like config dir's
where the first one will always be used in any case:
use FindBin::libs qw( base=etc scalar );
exports "$etc" rather than "@etc" (saves using $etc[0]
everyplace). Also works with
use FindBin::libs qw( base=etc export=config scalar );
to export $config rather than an array.
Added some examples.
Replace given block to avoid nastygrams from post-5.16 perls.
Add stub libs.pm as placeholder for version.
Finally remembered to fix typo (thanks to x.guimard).
1.11 Wed Jul 2 22:34:00 CDT 2014
R.I.P. Build.PL.
see Makefile.PL
Fix broken assignment of rel2abs from Cwd rather than
File::Spec::Functions.
Add test for abs_path or rel2abs surviving both '//' and 'cwd' --
if neither of them is available or working the rest of this is
a waste.
Note: I don't have access to windows for testing. If any of this
fails please contact me and we can figure out what is wrong.
1.9.1 Tue May 27 08:20:41 CDT 2014
Minor cleanup blows up in 5.12; works in 5.14. Given that 5.20 is
about to be on the street: the current version is pushed
up to 5.14 (i.e., if ref $^V and v5.14 le $^V then the
installed version is *_curr, otherwise it is *_5_8).
Files: