blib/lib/MooseX/YAML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 12 | 25.0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
60 | 0 | 2 | 0 | do { local $@; eval { do { require YAML::XS; 'YAML::XS' } } } || require YAML && 'YAML' |
65 | 2 | 0 | 0 | $drv->can($routine) || croak("Can't find a provided for $routine (fallback is $drv)") |
76 | 0 | 1 | 0 | $load ||= 'MooseX::YAML'->_resolve('Load') |
82 | 0 | 0 | 0 | $loadfile ||= 'MooseX::YAML'->_resolve('LoadFile') |