In perl.git, the branch smoke-me/yves-hv_h_split has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/efa92a0993d06539e1ee55ee5ab057dba9fad574?hp=eb42ee0f1884f3760bc0d02978c5142ebad8d58e>

- Log -----------------------------------------------------------------
commit efa92a0993d06539e1ee55ee5ab057dba9fad574
Author: Yves Orton <[email protected]>
Date:   Mon Mar 18 23:12:40 2013 +0100

    fixup for MakeMaker
    
    Ill backport this patch to the real version before I release
-----------------------------------------------------------------------

Summary of changes:
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm 
b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm
index e821f8c..1ea2ad2 100644
--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm
@@ -112,7 +112,9 @@ sub _write_os2 {
 
 sub _print_imports {
     my ($def, $data)= @_;
-    if ( my $imports= $data->{IMPORTS} ) {
+    my $imports= $data->{IMPORTS}
+        or return;
+    if (keys %$imports) {
         print $def "IMPORTS\n";
         foreach my $name (sort keys %$imports) {
             print $def "  $name=$imports->{$name}\n";

--
Perl5 Master Repository

Reply via email to