mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-22 09:22:24 +00:00
Fix build and test on perl-5.8.9
This commit is contained in:
parent
d41c2b0400
commit
b72b748eff
1 changed files with 2 additions and 2 deletions
|
@ -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" );
|
||||
|
|
Loading…
Add table
Reference in a new issue