develooper Front page | perl.perl5.porters | Postings from August 2008

[DOC PATCH] av.c - clearify that av_shift returns &PL_sv_undef if array is empty

Thread Next
From:
Claes Jakobsson
Date:
August 9, 2008 02:22
Subject:
[DOC PATCH] av.c - clearify that av_shift returns &PL_sv_undef if array is empty
Message ID:
0726E7A8-C29F-409C-81E6-B464EE6A3DDD@surfar.nu
Hi,

The docs for av_pop says that &PL_sv_undef is returned if the array is  
empty and since av_shift does the same I think the docs should state  
that too.

Attached is a tiny doc patch for that.

/Claes


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About