- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

Character(s) in '%c' format wrapped in unpack

(W unpack) You tried something like

unpack("s", "\x{1f3}b")

where the format expects to process a sequence of bytes (character with a value below 256), but some of the characters had a higher value. Perl uses the character values modulus 256 instead, as if you had provided:

unpack("s", "\x{f3}b")
ISBN 9781906966027Perl Language Reference ManualSee the print edition