in reply to Using scalars as a file data?

See File::Temp or Path::Tiny, or try \"string" which might work
  • Comment on Re: Using scalars as a file data? (tempfile)