Perl should be able to distinguish between printable strings and
packed binary data stored as strings (presumed to not be printable
text)
All strings are "printable" in perl, since print just calls fwrite(). I
can and do use perl to "print" binary data. print $a is perfectly fine
even if $a
Sam Tregar wrote:
On 19 Sep 2000, Perl6 RFC Librarian wrote:
Distinguish packed binary data from printable strings
What defines a "printable" string? What if I'm working in an environment
that can "print" bytes that yours can't?
Usage DWIMishly defines a printable string. As I noted
Andy Dougherty wrote:
Perl should be able to distinguish between printable strings and
packed binary data stored as strings (presumed to not be printable
text)
All strings are "printable" in perl, since print just calls fwrite(). I
can and do use perl to "print" binary data. print $a
On 19 Sep 2000, Perl6 RFC Librarian wrote:
Distinguish packed binary data from printable strings
What defines a "printable" string? What if I'm working in an environment
that can "print" bytes that yours can't? Specifically I'm wondering how
this proposal handles Unicode.
-sam