X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FRole.pm;h=d680a54c6b3a5c3d482c49d14e004e1e66f3c026;hp=a52c12ef273f74cdaafaba46201eeea5d5091220;hb=5af36247683101e3c457450489486d41f0bd7101;hpb=de0d4152ac07ed26a928841729e97366187b2915 diff --git a/lib/Mouse/Meta/Role.pm b/lib/Mouse/Meta/Role.pm index a52c12e..d680a54 100644 --- a/lib/Mouse/Meta/Role.pm +++ b/lib/Mouse/Meta/Role.pm @@ -1,5 +1,5 @@ package Mouse::Meta::Role; -use Mouse::Util qw(:meta not_supported english_list); # enables strict and warnings +use Mouse::Util qw(:meta not_supported); # enables strict and warnings use Mouse::Meta::Module; our @ISA = qw(Mouse::Meta::Module); @@ -85,7 +85,7 @@ sub _check_required_methods{ $role->throw_error(sprintf "'%s' requires the method%s %s to be implemented by '%s'", $role->name, (@missing == 1 ? '' : 's'), # method or methods - english_list(map{ sprintf q{'%s'}, $_ } @missing), + Mouse::Util::quoted_english_list(@missing), $consumer_class_name); } }