in reply to Re^3: Convert ASCII string to 7-bit binary stringin thread Convert ASCII string to 7-bit binary string
$out = map { substr unpack('B8', $1), 1 } $string =~ /./g; [download]