summaryrefslogtreecommitdiff
path: root/pp_pack.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2013-01-12 21:02:33 -0500
committerSteffen Mueller <smueller@cpan.org>2013-01-13 10:41:50 +0100
commit349c8cee6c078a03e5d96f45547833fcfe03b866 (patch)
tree1b0d3e5e965f3d71c1cc9406adfb97cef70544ec /pp_pack.c
parenta8a2ceaa337ed7cb30711de145f484033c43b07d (diff)
downloadperl-349c8cee6c078a03e5d96f45547833fcfe03b866.tar.gz
better POD for unpackstring
Someone asked me how to use unpackstring() since they couldn't figure it out from the docs, so I added some things.
Diffstat (limited to 'pp_pack.c')
-rw-r--r--pp_pack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pp_pack.c b/pp_pack.c
index 50d4a63892..cc1e637dfe 100644
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -1190,8 +1190,10 @@ first_symbol(const char *pat, const char *patend) {
=for apidoc unpackstring
The engine implementing unpack() Perl function. C<unpackstring> puts the
-extracted list items on the stack and returns the number of elements.
+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.
+Unlike L</call_pv>, do not do a C<PUSHMARK>. This function takes no parameters
+on the @_ stack.
=cut */