in reply to Most efficient way to print a file?

What is the most efficient way (performance-wise,memory-wise) to open a file and putting it into a scalar variable for printing?

Seeing how there are only 2 pure-perl ways to do it, its either open/read, or sysopen/sysread -- sysopen might be faster (probably); I doubt it matters

  • Comment on Re: Most efficient way to print a file?