# New Ticket Created by Jerome Quelin
# Please include the string: [perl #19670]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19670 >
Hi,
The following code does not work as it should:
read S0, 0, 1
print ">"
print S0
print "<\n"
end
$ perl ../../assemble.pl q.pasm > q && ../../parrot q
abcde
><
$ bcde
zsh: command not found: bcde
So it seems that Parrot "reads" the first char, as I want, but does not
stuff it in S0. Or maybe I'm wrong, and should "open" STDIN before
reading it via a file PMC?
Another thing. Could one turn off bufferization, so that "read S0, 0, 1"
only reads one char without slurping the whole line till the carriage
return?
Jerome
--
[EMAIL PROTECTED]