Learn through examples how to use the Perl pack function to enate into a string a list of values converted according to the formats specified by a template. There are provided a lot of commented examples to help you better understand how to use the pack function in your scripts. There are exemplified almost all the templates available: a string with arbitrary binary data; a text string; a bit string (either in an ascending or descending order inside each byte); a signed or an unsigned char; a single or double precision float in native format; a hex string; a signed or an unsigned integer value; a signed or an unsigned long value and much more.
Resource Posted
by:
Mihael Avram. This script listing has been viewed 1804 times so far.
Search Scripts Disclaimer - Please be aware Search-Scripts.com accepts no responsibility for the scripts, components & software you are downloading. The same applies to the information provided about the Web Scripts, Tutorials & Software Products listed, as the producer can modify it without notifying us. Even if we try to check the files for viruses ourselves, we cannot guarantee 100% that they are clean. For your own protection always check downloaded files for viruses.