Perl Programming/Keywords/unpack
The unpack keyword
editunpack does the opposite of pack by taking a string and expanding it out into a list of values. (In scalar context, only the first value produced is returned.)
Syntax
edit unpack TEMPLATE, EXPRESSION
unpack TEMPLATE
Example
editmy($what, $where, $howmuch) = @_;
unpack("x$where a$howmuch", $what);