...
The people in this newsgroup are acting as if I were attacking them
personally; my minor complaint is with the documentation, which makes
the assumption that the reader is already familiar with a lot of
technical programming terms, and furthermore has learned other ^^^^^^^^^^^^^^^^^^^^^^^^^^^
languages before perl. (There is indeed good "beginner's"
documentation for perl, but it never really gets into binary data;
neither "Learning Perl" nor the "Perl Cookbook" were able to help.)
That's the issue, really. When you talk about binary manipulating
binary numbers, you are talking about binary arithmetic. Shifting bits,
bitwise AND and OR are fundamental operations, like addition or division.
So when you start using perl to manipulate binary data, knowing what it is
that you want to do with the data is not in the domain of the specific
programming language you are using. It is not the province of the perl
documentation to teach you how to do that, any more that you should expect
the perl documentation to teach you about addition and division.
Many of the folks here have made suggestions in keeping with knowing this.
None of the regulars here are people who would intend, in their responses,
merely to insult you. Most folks here would insist that you know something
about your problem domain before attempting to write a program that addresses
it, though.
Hope this makes sense to you.
-damian