Front page | perl.perl5.porters |
Postings from January 2012
pack and ASCII
Thread Next
From:
jpl
Date:
January 9, 2012 03:30
Subject:
pack and ASCII
Message ID:
4F0ACFBD.2000002@research.att.com
According to perlfunc.pod, about pack:
The TEMPLATE is a sequence of characters that give the order and type
of values, as follows:
a A string with arbitrary binary data, will be null padded.
A A text (ASCII) string, will be space padded.
Z A null-terminated (ASCIZ) string, will be null padded.
The reference to ASCII (and ASCIZ) seems to be out of date, given recent
unicode efforts.
Thread Next