B-Tap
view release on metacpan or search on metacpan
lib/B/ppport.h view on Meta::CPAN
sub format_version_line
{
# Returns a floating point representation of the input version
my $version = int_parse_version(shift);
$version =~ s/^5\B/5./;
return $version;
}
sub dictionary_order($$) # Sort caselessly, ignoring punct
{
my ($lc_a, $lc_b);
my ($squeezed_a, $squeezed_b);
my ($valid_a, $valid_b); # Meaning valid for all releases
# On early perls, the implicit pass by reference doesn't work, so we have
# to use the globals to initialize.
if ("$]" < "5.006" ) {
$valid_a = $a; $valid_b = $b;
}
( run in 0.606 second using v1.01-cache-2.11-cpan-65fba6d93b7 )