- 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 pack

(W pack) You tried something like

pack("u", "\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:

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