summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLAUN Wolfgang <wolfgang.laun@alcatel.at>2003-10-06 10:45:29 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-10-06 11:55:52 +0000
commit608d3aed02075391572aedd203d1c73a9f25a2f0 (patch)
treeb2382cc7d8a8ca3b804fabfe19f408878ec3e803
parent8a2e08044eac72c17425ec10bbb958834013a72b (diff)
downloadperl-608d3aed02075391572aedd203d1c73a9f25a2f0.tar.gz
Re: [doc-PATCH] for unpack_str() and question
Message-ID: <75A46BF1A9D8D311863A00508B6259A405F180C1@ATTMSX4> p4raw-id: //depot/perl@21410
-rw-r--r--pod/perlapi.pod4
-rw-r--r--pp_pack.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index 545350536d..f111d0e627 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -725,7 +725,9 @@ Found in file pp_pack.c
=item unpackstring
-The engine implementing unpack() Perl function.
+The engine implementing unpack() Perl function. C<unpackstring> puts the
+extracted list items on the stack and returns the number of elements.
+Issue C<PUTBACK> before and C<SPAGAIN> after the call to this function.
I32 unpackstring(char *pat, char *patend, char *s, char *strend, U32 flags)
diff --git a/pp_pack.c b/pp_pack.c
index 7d7bd32736..55469fb0ab 100644
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -513,7 +513,9 @@ Perl_unpack_str(pTHX_ char *pat, register char *patend, register char *s, char *
/*
=for apidoc unpackstring
-The engine implementing unpack() Perl function.
+The engine implementing unpack() Perl function. C<unpackstring> puts the
+extracted list items on the stack and returns the number of elements.
+Issue C<PUTBACK> before and C<SPAGAIN> after the call to this function.
=cut */