Documentation for sub
pack assembled from the following types:
This subroutine is considered experimental, in order to use it you will need to do:
use experimental :pack;
multi sub pack(Str , *)multi sub pack(, *)
Packs the given items according to the template and returns a buffer containing the packed bytes.
The template string consists of zero or more units that begin with an ASCII letter, and are optionally followed by a quantifier. For details, see unpack.