diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-16 13:29:19 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-16 13:29:19 +0000 |
commit | 2ff8d37f7c51c03e37638c37e030e060d2c34669 (patch) | |
tree | c72f5c3597f86bd98cde9765692820dc4af7b89e /perl-install/network/tools.pm | |
parent | e78fb4780e2059e155ec011dbefe71dd665cf7be (diff) | |
download | drakx-2ff8d37f7c51c03e37638c37e030e060d2c34669.tar drakx-2ff8d37f7c51c03e37638c37e030e060d2c34669.tar.gz drakx-2ff8d37f7c51c03e37638c37e030e060d2c34669.tar.bz2 drakx-2ff8d37f7c51c03e37638c37e030e060d2c34669.tar.xz drakx-2ff8d37f7c51c03e37638c37e030e060d2c34669.zip |
replace occurences of "$foo ? $foo : $bar" with "$foo || $bar"
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r-- | perl-install/network/tools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index 489e0d966..3d75a3073 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -36,7 +36,7 @@ sub write_secret_backend { sub unquotify { my ($word) = @_; my ($a, $b, $c) = $$word =~ /"(.*)"|'(.*)'|(.*)/; - $$word = $a ? $a : $b ? $b : $c; + $$word = $a || $b || $c; } sub read_secret_backend { |