diff options
author | Paul Marquess <pmarquess@bfsec.bt.co.uk> | 1997-04-18 13:49:39 +0100 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-04-18 00:00:00 +0000 |
commit | 7f505e5d2748dc2677688b22967678392a186b16 (patch) | |
tree | dd88e1dcf7a1a274025226acac004c016ee7ecfd | |
parent | b306bf39bf31f44f4dcbcdf8bc1d3be82f5e6da3 (diff) | |
download | perl-7f505e5d2748dc2677688b22967678392a186b16.tar.gz |
Document {,un}pack changes
Here is a documentation patch for the changes to pack & unpack.
p5p-msgid: 9704181249.AA11733@claudius.bfsec.bt.co.uk
-rw-r--r-- | pod/perldelta.pod | 12 | ||||
-rw-r--r-- | pod/perldiag.pod | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 5132b49ae2..eee8ceb35a 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -299,6 +299,10 @@ provides seven bits of the total value, with the most significant first. Bit eight of each byte is set, except for the last byte, in which bit eight is clear. +Previous to Perl 5.004, both pack() and unpack() would ignore any +unknown type characters in the template string. Now a fatal error will +be generated. + =item sysseek() and systell() These are new. The sysseek() operator is a variant of seek() that works @@ -1097,6 +1101,14 @@ empty (except that C<d_csh> should be C<'undef'>) so that Perl will think csh is missing. In either case, after editing config.sh, run C<./Configure -S> and rebuild Perl. +=item Invalid type in pack: '%s' + +(F) The given character is not a valid pack type. See L<perlfunc/pack>. + +=item Invalid type in unpack: '%s' + +(F) The given character is not a valid unpack type. See L<perlfunc/unpack>. + =item Name "%s::%s" used only once: possible typo (W) Typographical errors often show up as unique variable names. diff --git a/pod/perldiag.pod b/pod/perldiag.pod index feee58a219..1d22a25f17 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1231,11 +1231,11 @@ greater than the maximum character. See L<perlre>. =item Invalid type in pack: '%s' -(F) The given character is not a valid pack type. See L<perlop/pack>. +(F) The given character is not a valid pack type. See L<perlfunc/pack>. =item Invalid type in unpack: '%s' -(F) The given character is not a valid unpack type. See L<perlop/unpack>. +(F) The given character is not a valid unpack type. See L<perlfunc/unpack>. =item ioctl is not implemented |