Re: Printing literal "\0" in parrot

2002-05-18 Thread Dan Sugalski
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

Printing literal "\0" in parrot: Sorry, forgot the attachment

2002-05-15 Thread Joe Yates
#! perl use Parrot::Test tests => 5; use Test::More; output_is(<<'CODE', <

Printing literal "\0" in parrot

2002-05-15 Thread Joe Yates
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