This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the Perl equivalent example to av_clear.
authorShlomi Fish <shlomif@iglu.org.il>
Sat, 15 May 2010 18:44:58 +0000 (21:44 +0300)
committerDavid Golden <dagolden@cpan.org>
Tue, 25 May 2010 16:15:01 +0000 (12:15 -0400)
Signed-off-by: David Golden <dagolden@cpan.org>
av.c

diff --git a/av.c b/av.c
index b93a6d5..095147a 100644 (file)
--- a/av.c
+++ b/av.c
@@ -415,7 +415,7 @@ Perl_av_make(pTHX_ register I32 size, register SV **strp)
 =for apidoc av_clear
 
 Clears an array, making it empty.  Does not free the memory used by the
-array itself.
+array itself. Perl equivalent: C<@myarray = ();>.
 
 =cut
 */