Add the Perl equivalent example to av_clear.
Shlomi Fish [Sat, 15 May 2010 18:44:58 +0000 (21:44 +0300)]
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
 */