io examples

Gerd Pokorra gp at zimt.uni-siegen.de
Wed Feb 25 08:29:51 UTC 2009


Hello,

the examples in the directory "examples/io" did not work any more, even
if >, < ... are changed to 'w', 'r'...

It want to try to pipe a commands output in a simple pasm program, but
it did not work.

open P15, '/bin/ls', 'p'
readline S30, P15
lp:
  read S30, P15, 200
  print S30
  if P15, lp
  end

Is there a mistake in my program?

Gerd




More information about the parrot-dev mailing list