Hi there, I'd like to change where print output and warnings and errors go within a section of PIR code, like you can change them in C and Perl by closing and reopening the file descriptor or localizing the typeglob, respectively.
This is important for the pure-PIR Parrot::Test. I've looked at the ParrotIO PMC and I can't immediately see anything useful. I've also read the code for the print opcode and don't see a good hook there. Are there any other ideas or suggestions? -- c