123456789101112 use Test::More;BEGIN { eval { require Test::Distribution; }; if ($@) { plan skip_all => 'Test::Distribution not installed'; } else { import Test::Distribution podcoveropts => { also_private => [qr/^SCALAR$/x] }; }}
use
Test::More;
BEGIN {
eval
{
require
Test::Distribution; };
if
($@) {
plan
skip_all
=>
'Test::Distribution not installed'
;
}
else
import
Test::Distribution
podcoveropts
also_private
=> [
qr/^SCALAR$/
x] };