This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Skip IO::Compress::Zlib in perlivp, since that's a distribution name,
[perl5.git] / utils / perlivp.PL
index 2e597c2..01c5169 100644 (file)
@@ -33,13 +33,12 @@ $Config{'startperl'}
         if \$running_under_some_shell;
 !GROK!THIS!
 
         if \$running_under_some_shell;
 !GROK!THIS!
 
+print OUT "\n# perlivp $^V\n";
+
 # In the following, perl variables are not expanded during extraction.
 
 print OUT <<'!NO!SUBS!';
 
 # In the following, perl variables are not expanded during extraction.
 
 print OUT <<'!NO!SUBS!';
 
-# perlivp V 0.02
-
-
 sub usage {
     warn "@_\n" if @_;
     print << "    EOUSAGE";
 sub usage {
     warn "@_\n" if @_;
     print << "    EOUSAGE";
@@ -209,7 +208,9 @@ if (defined($Config{'extensions'})) {
             next if ($_ eq 'threads');
             next if ($_ eq 'threads/shared');
         }
             next if ($_ eq 'threads');
             next if ($_ eq 'threads/shared');
         }
-        next if ($_ eq 'Devel/DProf'); 
+       # that's a distribution name, not a module name
+       next if $_ eq 'IO/Compress/Zlib';
+        next if $_ eq 'Devel/DProf'; 
            # VMS$ perl  -e "eval ""require \""Devel/DProf.pm\"";"" print $@"
            # \NT> perl  -e "eval \"require 'Devel/DProf.pm'\"; print $@"
            # DProf: run perl with -d to use DProf.
            # VMS$ perl  -e "eval ""require \""Devel/DProf.pm\"";"" print $@"
            # \NT> perl  -e "eval \"require 'Devel/DProf.pm'\"; print $@"
            # DProf: run perl with -d to use DProf.