diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-04-03 08:16:25 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-04-03 08:16:25 +0000 |
commit | c4ecfaf1e4857c9b21f2854d3bac687458f83f4f (patch) | |
tree | 7b21e195b0897d8bb7277c06939b2f67bbe182d9 /pod/perlpacktut.pod | |
parent | ab74612d134c4eb4fe656c2e902798be61efe3e0 (diff) | |
download | perl-c4ecfaf1e4857c9b21f2854d3bac687458f83f4f.tar.gz |
Fix wrong version for byteorder modifiers feature.
p4raw-id: //depot/perl@24138
Diffstat (limited to 'pod/perlpacktut.pod')
-rw-r--r-- | pod/perlpacktut.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlpacktut.pod b/pod/perlpacktut.pod index 815f6adf69..1cb127e0b9 100644 --- a/pod/perlpacktut.pod +++ b/pod/perlpacktut.pod @@ -470,7 +470,7 @@ platform-independent way, you would have to write: my @data = unpack 's*', pack 'S*', unpack 'n*', $buf; -This is ugly. As of Perl 5.8.5, there's a much nicer way to express your +This is ugly. As of Perl 5.9.2, there's a much nicer way to express your desire for a certain byte-order: the C<E<gt>> and C<E<lt>> modifiers. C<E<gt>> is the big-endian modifier, while C<E<lt>> is the little-endian modifier. Using them, we could rewrite the above code as: |