The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use Test;

plan 4;
use Log::Selective; pass "(dummy instead of broken use_ok)";
lives_ok { %*ENV<SELECT_LOGS>='foo' }, "Selected tag 'foo' via environment";

skip_rest("looping tests"); exit;

ok (note "This should be output", :foo), 'tag in list';
ok not(note "This should not be output", :bar), 'tag not in list';