Fix build and test on perl-5.8.9

This commit is contained in:
Duncan Ferguson 2016-05-01 09:24:14 +01:00
parent d41c2b0400
commit b72b748eff

View file

@ -71,8 +71,8 @@ sub expand {
( $start, $end ) = split( /\.\./, $section, 2 );
}
$start //= $section;
$end //= $start;
$start=$section if(!defined($start));
$end=$start if(!defined($end));
foreach my $number ( $start .. $end ) {
push( @newlist, "$base$number" );