git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@3748
bd8105ee-0ff8-0310-8827-fb3f25b6796d
my ($self, $profile) = @_;
$profile = "Devel::REPL::Profile::${profile}" unless $profile =~ /::/;
Class::MOP::load_class($profile);
+ confess "Profile class ${profile} doesn't do 'Devel::REPL::Profile'"
+ unless $profile->does('Devel::REPL::Profile');
$profile->new->apply_profile($self->_repl);
}