summaryrefslogtreecommitdiff
path: root/Ivy.pm
diff options
context:
space:
mode:
authorchatty1999-01-08 11:29:26 +0000
committerchatty1999-01-08 11:29:26 +0000
commit104c2ae755c666ca1770b35b86e55eb6b280d4d4 (patch)
tree0da6921d704bc0042333d7a4311929e9c2b49e8a /Ivy.pm
parent9609c859ff4e5eab04e7ea9429086ad8dc12f6ef (diff)
downloadivy-perl-104c2ae755c666ca1770b35b86e55eb6b280d4d4.zip
ivy-perl-104c2ae755c666ca1770b35b86e55eb6b280d4d4.tar.gz
ivy-perl-104c2ae755c666ca1770b35b86e55eb6b280d4d4.tar.bz2
ivy-perl-104c2ae755c666ca1770b35b86e55eb6b280d4d4.tar.xz
Changed handling of default values in Ivy::start, allowing to pass undef parameters
Diffstat (limited to 'Ivy.pm')
-rw-r--r--Ivy.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy.pm b/Ivy.pm
index dd9fd2f..c75235a 100644
--- a/Ivy.pm
+++ b/Ivy.pm
@@ -253,7 +253,7 @@ sub start (@)
foreach my $opt (keys %defaultOptions) {
# si un parametre n'a pas ete defini
- next if exists $options{$opt} ;
+ next if defined $options{$opt} ;
# est-il facultatif
if (defined $defaultOptions{$opt}) {
$options{$opt} = $defaultOptions{$opt} ;