In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/1e6ffe563afa06bebdef40d37cf4bdae8ac5f14d?hp=313b38e51ccc38cdb7b246f596287a755f8f108b>

- Log -----------------------------------------------------------------
commit 1e6ffe563afa06bebdef40d37cf4bdae8ac5f14d
Author: Rafael Garcia-Suarez <[email protected]>
Date:   Thu Jun 17 14:19:03 2010 +0200

    Avoid warnings with undefined hash values [perl #74280]

M       ext/Hash-Util/lib/Hash/Util.pm

commit 30fcd6c4143961133edf166c63dcc423fbcdb973
Author: Rafael Garcia-Suarez <[email protected]>
Date:   Thu Jun 17 11:40:36 2010 +0200

    Deparse correctly "no VERSION" [perl #75482]

M       dist/B-Deparse/Deparse.pm
-----------------------------------------------------------------------

Summary of changes:
 dist/B-Deparse/Deparse.pm      |    4 ++--
 ext/Hash-Util/lib/Hash/Util.pm |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dist/B-Deparse/Deparse.pm b/dist/B-Deparse/Deparse.pm
index 16b5642..61fe293 100644
--- a/dist/B-Deparse/Deparse.pm
+++ b/dist/B-Deparse/Deparse.pm
@@ -16,7 +16,7 @@ use B qw(class main_root main_start main_cv svref_2object 
opnumber perlstring
         OPpTRANS_SQUASH OPpTRANS_DELETE OPpTRANS_COMPLEMENT OPpTARGET_MY
         OPpCONST_ARYBASE OPpEXISTS_SUB OPpSORT_NUMERIC OPpSORT_INTEGER
         OPpSORT_REVERSE OPpSORT_INPLACE OPpSORT_DESCEND OPpITER_REVERSED
-        OPpREVERSE_INPLACE
+        OPpREVERSE_INPLACE OPpCONST_NOVER
         SVf_IOK SVf_NOK SVf_ROK SVf_POK SVpad_OUR SVf_FAKE SVs_RMG SVs_SMG
          CVf_METHOD CVf_LVALUE
         PMf_KEEP PMf_GLOBAL PMf_CONTINUE PMf_EVAL PMf_ONCE PMf_NONDESTRUCT
@@ -1789,7 +1789,7 @@ sub pp_require {
        $name =~ s/\.pm//g;
        return "$opname $name";
     } else {   
-       $self->unop($op, $cx, $opname);
+       $self->unop($op, $cx, $op->first->private & OPpCONST_NOVER ? "no" : 
$opname);
     }
 }
 
diff --git a/ext/Hash-Util/lib/Hash/Util.pm b/ext/Hash-Util/lib/Hash/Util.pm
index 0fa1469..95da7d9 100644
--- a/ext/Hash-Util/lib/Hash/Util.pm
+++ b/ext/Hash-Util/lib/Hash/Util.pm
@@ -4,6 +4,7 @@ require 5.007003;
 use strict;
 use Carp;
 use warnings;
+no warnings 'uninitialized';
 use warnings::register;
 use Scalar::Util qw(reftype);
 
@@ -28,7 +29,7 @@ our @EXPORT_OK  = qw(
                      hash_seed hv_store
 
                     );
-our $VERSION    = 0.07;
+our $VERSION = '0.08';
 require DynaLoader;
 local @ISA = qw(DynaLoader);
 bootstrap Hash::Util $VERSION;

--
Perl5 Master Repository

Reply via email to