in reply to Dreaded Symbolic References
I would like to split the packing/unpacking function from the data definition so that I can put it all in one place, and reuse it.
Use a subroutine.