Catalyst::ScriptRole has
use Catalyst::Utils qw/ ensure_class_loaded /;
From what I can tell, Catalyst::Utils doesn't export ensure_class_looaded.
$ perl -E'use Catalyst::Utils qw/ ensure_class_loaded /; ensure_class_loaded()'
Undefined subroutine &main::ensure_class_loaded called at -e line 1.
Doesn't that mean the following (found later in Catalyst::ScriptRole) will fail?
subtype 'Catalyst::ScriptRole::LoadableClass',
as 'ClassName';
coerce 'Catalyst::ScriptRole::LoadableClass',
from 'Str',
via { ensure_class_loaded($_); 1 };