in reply to Re: Is the documentation for Perl 5.20 'pack' correct?
in thread Is the documentation for Perl 5.20 'pack' correct?

byteorder is 12345678 on that platform.

That is a completely meaningless statement:

print $Config{ archname };; MSWin32-x64-multi-thread $n = 0x12345678;; print unpack 'C*', pack 'V', $n;; 120 86 52 18 print unpack 'C*', pack 'NV', $n;; 18 52 86 120 0 0 0 0 print unpack 'C*', pack 'N', $n;; 18 52 86 120 print unpack 'C*', pack 'Q<', $n;; 120 86 52 18 0 0 0 0 print unpack 'C*', pack 'Q>', $n;; 0 0 0 0 18 52 86 120

Until you define what the phrase "byteorder is 12345678" means; it means nothing useful.

It could mean:

Except that the ... in any of those statements is not specified; which renders the statement -- whatever the intended interpretation -- completely meaningless.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Replies are listed 'Best First'.
Re^3: Is the documentation for Perl 5.20 'pack' correct?
by ikegami (Patriarch) on Jul 07, 2015 at 00:17 UTC
    STop making a fool of yourself and go read the docs as I previously suggested. We're talking about perl -V:byteorder.

      Until you define the meaning of the phrase "byteorder is 12345678", the statement is meaning less.

      Repetition is not an argument; nor a discussion.

      And nothing you've said so far is worth repeating!

        byteorder: The output of $Config{byteorder}. Also available via perl -V:byteorder.

        "12345678": A string consisting of 8 characters, with respective values 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37 and 0x38.

        This would have been clear to you if you had actually read the docs. You sure love making a fool of yourself.

      STop making a fool of yourself and go read the docs as I previously suggested. We're talking about perl -V:byteorder.

      Instead trying to pedant and boss folks, why don't you simply explain stuff?

        STop making a fool of yourself and go read the docs as I previously suggested. We're talking about perl -V:byteorder.

        Instead trying to pedant and boss folks, why don't you simply explain stuff?

        It's right there in the passage you quoted: The docs are talking about the output of perl -V:byteorder.

        I also explained here, here and here.