Because $Data doesn't need to be transformed so I can just append it to the output from pack. Also, because I didn't want to look up how to do that inside pack. (:
Having now looked it up, you can use "a*" or "A*" to include an untransformed string so append " a*" to the first argument to pack and change the ") ." to ", " if you like.
- tye (but my friends call me "Tye")In reply to (tye)Re3: Sending an array through a socket!
by tye
in thread Sending an array through a socket!
by flipxor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |