This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #90054] Fix typo in universal.c
authorJohan Vromans <jvromans@squirrel.nl>
Thu, 19 May 2011 03:28:23 +0000 (20:28 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 19 May 2011 04:33:06 +0000 (21:33 -0700)
At XS(XS_UNIVERSAL_DOES), invocant is spelled wrong.

universal.c

index 07bbe96..145d860 100644 (file)
@@ -290,7 +290,7 @@ XS(XS_UNIVERSAL_DOES)
     PERL_UNUSED_ARG(cv);
 
     if (items != 2)
-       Perl_croak(aTHX_ "Usage: invocand->DOES(kind)");
+       Perl_croak(aTHX_ "Usage: invocant->DOES(kind)");
     else {
        SV * const sv = ST(0);
        const char *name;