setstdin

jerry gay jerry.gay at gmail.com
Tue Dec 30 21:59:25 UTC 2008


On Tue, Dec 30, 2008 at 13:48, Jeff Horwitz <jeff at smashing.org> wrote:
> i just wrote a custom mod_parrot filehandle PMC that sends output back to
> the Apache client.  i can assign it to stdout using the setstdout opcode
> and all "prints" and "says" are magically sent back to the client.  this
> required for registry-style scripts and PHP.
>
> i need to do the same for stdin for reading POST data, but i just noticed
> that setstdin is missing.  thoughts on adding it?
>
setstdout and setstderr are experimental ops. if they're going to hang
around, they should be moved out of experimental.ops. as should
setstdin, if it's added.
~jerry


More information about the parrot-dev mailing list