in reply to How can I write a function's output to a scalar?

Do you mean if the function print's to STDOUT? You could maybe use local to temporarily turn STDOUT into a tied IO::Scalar filehandle...haven't tried it myself but worth a try.
  • Comment on Re: How can I write a function's output to a scalar?