diff options
-rw-r--r-- | perl-install/common.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 150f33080..032eb8af5 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -136,6 +136,11 @@ sub expand_symlinks { $f; } +sub if_($@) { + my $b = shift; + $b ? @_ : (); +} + sub arch() { require c; c::kernel_arch(); |