Your sig has nearly all the answer:
print OUTFILE, pack("B*",$string);After Compline,
Zaxo
update: Idiotic blunder repaired
In reply to Re: Writing a string of bits to a file, binary-style
by Zaxo
in thread Writing a string of bits to a file, binary-style
by PsionicMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |