At 6:47 PM +0200 5/15/02, Joe Yates wrote:
>Dear all,
>
>I'm trying to print the following string:
>
> \0
>
>I.e. the output of the perl instruction
>
> print "\\0";
>
>See attached test.
>
>It's getting treated as a string terminator.
>
>Am I escaping incorrectly, or is it incorrect t
#! perl
use Parrot::Test tests => 5;
use Test::More;
output_is(<<'CODE', <
Dear all,
I'm trying to print the following string:
\0
I.e. the output of the perl instruction
print "\\0";
See attached test.
It's getting treated as a string terminator.
Am I escaping incorrectly, or is it incorrect treatment of "\0" at some point?
Thanks,
Joe Yates