O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Perl understands numbers specified in binary (base-2), octal (base-8), and hexadecimal (base-16) notation only when they occur as literals in your programs. If they come in as data—such as by readin...
If you want to convert a string to uppercase or lowercase, but UPPER() and LOWER() won’t work, you’re probably trying to convert a binary string. Convert it to a nonbinary string so that
...
Choose the data type according to the characteristics of the
information to be stored and how you need to use it. Consider
questions such as these:Are the strings binary or nonbinary...