This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Typo in croak message
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Sat, 14 Apr 2007 20:52:56 +0000 (20:52 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
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_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;
     else {
        SV * const sv = ST(0);
        const char *name;