diff options
author | Ian Phillipps <Ian.Phillipps@iname.com> | 1999-07-24 00:35:56 +0100 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-26 09:28:48 +0000 |
commit | 43192e07925c626b8d615aff545160df8bd7c3f8 (patch) | |
tree | 6fc8ce7fb7b43e513591e91fb5a635c864059f62 /pod/perldiag.pod | |
parent | 1f763251de9d15bd843d41adf21f5de7aa72b2ea (diff) | |
download | perl-43192e07925c626b8d615aff545160df8bd7c3f8.tar.gz |
(Version 2) Extending unpack to deal with counted strings
Message-ID: <19990723233556.B2435@homer.diplex.co.uk>
p4raw-id: //depot/perl@3765
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index b3265ffb74..e86bfbffbb 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -56,6 +56,31 @@ no useful value. See L<perlmod>. (F) The '!' is allowed in pack() and unpack() only after certain types. See L<perlfunc/pack>. +=item # cannot take a count + +(F) You had an unpack template indicating a counted-length string, +but you have also specified an explicit size for the string. +See L<perlfunc/pack>. + +=item # must be followed by a, A or Z + +(F) You had an unpack template indicating a counted-length string, +which must be followed by one of the letters a, A or Z +to indicate what sort of string is to be unpacked. +See L<perlfunc/pack>. + +=item # must be followed by a*, A* or Z* + +(F) You had an pack template indicating a counted-length string, +Currently the only things that can have their length counted are a*, A* or Z*. +See L<perlfunc/pack>. + +=item # must follow a numeric type + +(F) You had an unpack template that contained a '#', +but this did not follow some numeric unpack specification. +See L<perlfunc/pack>. + =item % may only be used in unpack (F) You can't pack a string by supplying a checksum, because the |