print unpack "(C/(xx)X220a)26", pack "a366", "qsoultoJk ontalPykvhscktkol,r few ues\nrenrnlhaarchkrb"
Update 2013-05-24: see Re: how to unpack a C struct with length array preceding data array.
In reply to Just another unpack hacker by ambrus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |