From: Marcus Holland-Moritz Date: Sun, 3 Apr 2005 08:16:25 +0000 (+0000) Subject: Fix wrong version for byteorder modifiers feature. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c4ecfaf1e4857c9b21f2854d3bac687458f83f4f;p=p5sagit%2Fp5-mst-13.2.git Fix wrong version for byteorder modifiers feature. p4raw-id: //depot/perl@24138 --- diff --git a/pod/perlpacktut.pod b/pod/perlpacktut.pod index 815f6ad..1cb127e 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> and C> modifiers. C> is the big-endian modifier, while C> is the little-endian modifier. Using them, we could rewrite the above code as: