diff options
| author | fukachan <fukachan> | 2002-02-01 12:03:55 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-02-01 12:03:55 +0000 |
| commit | a176a2ad4ac5fd35a3a056dd3828c0dbb1da0e6d (patch) | |
| tree | c06f02bd93f73f40c2cafff8c461d73731b15b6d /fml/lib/FML/Process/Switch.pm | |
| parent | eec3fb6d6aa9ffe509abbab89f304f450295d860 (diff) | |
| download | fml8-subdir-base.tar.gz fml8-subdir-base.tar.bz2 fml8-subdir-base.zip | |
remove $ENV{debug} based toggle flagsubdir-base
Diffstat (limited to 'fml/lib/FML/Process/Switch.pm')
| -rw-r--r-- | fml/lib/FML/Process/Switch.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/Switch.pm b/fml/lib/FML/Process/Switch.pm index 2089d58d..7e43c83f 100644 --- a/fml/lib/FML/Process/Switch.pm +++ b/fml/lib/FML/Process/Switch.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: Switch.pm,v 1.50 2001/12/23 11:37:07 fukachan Exp $ +# $FML: Switch.pm,v 1.51 2002/01/30 15:12:44 fukachan Exp $ # package FML::Process::Switch; @@ -179,8 +179,7 @@ sub main::Bootstrap2 my $reason = $@; if ($obj->can('help')) { eval $obj->help();}; - if ($ENV{'debug'} || - defined( $main_cf->{ debug } ) || + if (defined( $main_cf->{ debug } ) || defined $options{debug}) { croak($reason); } @@ -501,7 +500,7 @@ sub _module_we_use return ''; } - print STDERR "module = $pkg (for $0)\n" if $ENV{'debug'}; + print STDERR "module = $pkg (for $0)\n" if $debug; return $pkg; } |
