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


in reply to Most efficient way to load file contents into scalar?

You could try Sys::Mmap::Simple. It doesn't really load the file, but for some applications, the end result is the same, and it should be much faster for big files.