in reply to Re: There be dragons (or, perl5.8's open stringref breaks...)
in thread There be dragons (or, perl5.8's open stringref breaks...)

Yeah ... I was hoping the PerlIO abstracted this, too ;-)

What would be really cool is to be able to do this:

{ local *STDOUT; my $buf; open STDOUT, '>', \$buf; system("some_command","with","args"); $logger->write($buf); }
But that's probably expecting a bit much. ;-)

Anyway, as I said in the original post of the thread, I can't quite figure out who the author is - probably owned by p5p anyway. So I submitted the bug report - we'll see if there's any answer. I do still think, however, that this is a much larger problem than I would be able to give a reasonable patch for, since getting it to work properly may involve many, many changes, or just one: disallow string-handles in File::Copy.