This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Nah, implicit is bad
authorSteffen Mueller <smueller@cpan.org>
Fri, 11 Feb 2011 17:37:41 +0000 (18:37 +0100)
committerSteffen Mueller <smueller@cpan.org>
Tue, 12 Jul 2011 18:54:49 +0000 (20:54 +0200)
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm

index 4889d29..b492f38 100644 (file)
@@ -517,7 +517,7 @@ None.
 
 =item * Return Value
 
-Implicitly returns true when final C<print> statement completes.
+Returns true.
 
 =back
 
@@ -580,6 +580,7 @@ S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
 #endif /* !defined(newXS_flags) */
 
 EOF
+  return 1;
 }
 
 =head2 C<assign_func_args()>