diff options
| author | fukachan <fukachan> | 2002-07-13 13:08:08 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-07-13 13:08:08 +0000 |
| commit | 2bae4020c06a51616fa634fca4a299bceefff61c (patch) | |
| tree | f11423bc0b8a4306814d1efc711b56726a26a8bc | |
| parent | b68af404ad7617f91015e92f195424356fc987d9 (diff) | |
| download | fml8-2bae4020c06a51616fa634fca4a299bceefff61c.tar.gz fml8-2bae4020c06a51616fa634fca4a299bceefff61c.tar.bz2 fml8-2bae4020c06a51616fa634fca4a299bceefff61c.zip | |
check defined($ml_name) in ml_* variable handlings
| -rw-r--r-- | fml/lib/FML/Process/Kernel.pm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/fml/lib/FML/Process/Kernel.pm b/fml/lib/FML/Process/Kernel.pm index efccff7d..cf07559c 100644 --- a/fml/lib/FML/Process/Kernel.pm +++ b/fml/lib/FML/Process/Kernel.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Kernel.pm,v 1.109 2002/06/30 14:30:16 fukachan Exp $ +# $FML: Kernel.pm,v 1.110 2002/07/02 12:45:32 fukachan Exp $ # package FML::Process::Kernel; @@ -435,11 +435,13 @@ sub resolve_ml_specific_variables ($ml_name, $command) = split('::', $command); } - if ($ml_name =~ /\@/) { - $ml_addr = $ml_name; - } - else { - $ml_addr = $ml_name . '@'. $default_domain; + if (defined $ml_name) { + if ($ml_name =~ /\@/) { + $ml_addr = $ml_name; + } + else { + $ml_addr = $ml_name . '@'. $default_domain; + } } } else { |
