blib/lib/Net/OpenSSH/ModuleLoader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 5 | 40.0 |
line | l | !l | condition |
---|---|---|---|
24 | 0 | 0 | do { local($@, local $SIG{'__DIE__'}); eval "\$${module}::VERSION" } || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
14 | 2 | 4 | 0 | $loaded_module{$module} ||= do { my $err; croak("unable to load Perl module ${module}: $err") unless do { local($@, local $SIG{'__DIE__'}); my $ok = eval "require $module; 1"; $err = $@; $ok } } |