From 49c020779005ca18fffc440a76dfdea0217b4541 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 3 Dec 2002 12:39:35 +0000 Subject: (formatXiB): simplify --- perl-install/common.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/common.pm b/perl-install/common.pm index 0353da552..dbb954ea3 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -90,7 +90,8 @@ sub removeXiBSuffix { $_; } sub formatXiB { - my ($newnb, $newbase) = (@_, 1); + my ($newnb, $newbase) = @_; + $newbase ||= 1; my ($nb, $base); my $decr = sub { ($nb, $base) = ($newnb, $newbase); -- cgit v1.2.1