Perl pack Function Tutorial

Category: CGI and Perl - Miscellaneous

Learn through script examples how to use the Perl pack function to concatenate 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. Date: 26 November, 2011


Advertisements



Perl Pack - Pack Perl - Perl Pack Function - Perl Unpack

Homepage: http://www.misc-perl-info.com/perl-pack.html

Developer: Mihael Avram

License: Freeware

Operating System: Linux, Unix, Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0