summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/cpan/DB_File
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/cpan/DB_File')
-rw-r--r--gnu/usr.bin/perl/cpan/DB_File/Changes5
-rw-r--r--gnu/usr.bin/perl/cpan/DB_File/DB_File.pm6
2 files changed, 8 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/cpan/DB_File/Changes b/gnu/usr.bin/perl/cpan/DB_File/Changes
index 200ff17f583..a650c754701 100644
--- a/gnu/usr.bin/perl/cpan/DB_File/Changes
+++ b/gnu/usr.bin/perl/cpan/DB_File/Changes
@@ -1,3 +1,8 @@
+1.827 25 Jan 2012
+
+ * DB_File.pm - Don't use "@_" construct
+ [RT ##79287]
+
1.826 25 Jan 2012
* t/db-btree.t - fix use of "length @array"
diff --git a/gnu/usr.bin/perl/cpan/DB_File/DB_File.pm b/gnu/usr.bin/perl/cpan/DB_File/DB_File.pm
index 6b7dc103ef8..58cbebeeaee 100644
--- a/gnu/usr.bin/perl/cpan/DB_File/DB_File.pm
+++ b/gnu/usr.bin/perl/cpan/DB_File/DB_File.pm
@@ -165,17 +165,17 @@ our ($db_version, $use_XSLoader, $splice_end_array_no_length, $splice_end_array,
use Carp;
-$VERSION = "1.826" ;
+$VERSION = "1.827" ;
$VERSION = eval $VERSION; # needed for dev releases
{
- local $SIG{__WARN__} = sub {$splice_end_array_no_length = "@_";};
+ local $SIG{__WARN__} = sub {$splice_end_array_no_length = join(" ",@_);};
my @a =(1); splice(@a, 3);
$splice_end_array_no_length =
($splice_end_array_no_length =~ /^splice\(\) offset past end of array at /);
}
{
- local $SIG{__WARN__} = sub {$splice_end_array = "@_";};
+ local $SIG{__WARN__} = sub {$splice_end_array = join(" ", @_);};
my @a =(1); splice(@a, 3, 1);
$splice_end_array =
($splice_end_array =~ /^splice\(\) offset past end of array at /);