Matt Diephouse <[EMAIL PROTECTED]> wrote:
> harmony:~/Projects/parrot ezekiel$ cat test.pir
> .sub main @MAIN
> $P0 = open "test.pir", "<"
> $S0 = readline $P0
> print $S0
> $S1 = read $P0, 3
> print $S1
> print "\n"
> .end
> harmony:~/Projects/parrot ezekiel$ parrot
On Fri, 28 Jan 2005 09:53:01 +0100, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> Matt Diephouse <[EMAIL PROTECTED]> wrote:
> > $S0 = readline $P0
> > print $S0
> > $S1 = read $P0, 3
>
> Mixing readline and read isn't really a good idea. Did you try to turn
> on/off buffering before cha
Matt Diephouse <[EMAIL PROTECTED]> wrote:
> $S0 = readline $P0
> print $S0
> $S1 = read $P0, 3
Mixing readline and read isn't really a good idea. Did you try to turn
on/off buffering before changing read modes? See PIO.setbuf().
leo
# New Ticket Created by Matt Diephouse
# Please include the string: [perl #33963]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=33963 >
harmony:~/Projects/parrot ezekiel$ cat test.pir
.sub main @MAIN
$P0 = open "tes