Previously the order of duplicate names in Errno was determined by hash
iteration order, as was the order of the list of types for built-ins in
Pod::Functions. With hash randomisation this meant that the generated file
could differ between builds, which isn't ideal if the input is the same.
(Spotted as a side effect of running a diff on two installation trees.)
use Config;
use strict;
-our $VERSION = "1.18";
+our $VERSION = "1.19";
my %err = ();
my %wsa = ();
%err = (
EDQ
- my @err = sort { $err{$a} <=> $err{$b} }
+ my @err = sort { $err{$a} <=> $err{$b} || $a cmp $b }
grep { $err{$_} =~ /-?\d+$/ } keys %err;
foreach $err (@err) {
=cut
-our $VERSION = '1.06';
+our $VERSION = '1.07';
require Exporter;
my $desc = $Flavor{$func};
die "No types listed for $func" unless $Type{$func};
next if $Omit{$func};
- print $fh join("\t", $func, @{$Type{$func}}, $desc), "\n";
+ print $fh join("\t", $func, (sort @{$Type{$func}}), $desc), "\n";
}
close $fh or die "Can't close '$temp': $!";