http://qs1969.pair.com?node_id=401331


in reply to Re: Challenge: Capturing stdout from a function call.
in thread Challenge: Capturing stdout from a function call.

That looks like a really elegant solution. When I tried it on my system, I ended up with a file named SCALAR(0x17651f0) containing "from foo". What am I missing?