Typo in croak message
H.Merijn Brand [Sat, 14 Apr 2007 20:52:56 +0000 (20:52 +0000)]
p4raw-id: //depot/perl@30951

universal.c

index 182b5c9..d876c6c 100644 (file)
@@ -422,7 +422,7 @@ XS(XS_UNIVERSAL_DOES)
     PERL_UNUSED_ARG(cv);
 
     if (items != 2)
-       Perl_croak(aTHX_ "Usage: invocant->does(kind)");
+       Perl_croak(aTHX_ "Usage: invocant->DOES(kind)");
     else {
        SV * const sv = ST(0);
        const char *name;