File::Slurp says in its description: Efficient Reading / Writing of Complete Files.
And based on what you posted, it's true. It's barely slower than open/print/close with no error checking.
In reply to Re: File::Slurp Not As Efficient As OPEN / CLOSE
by ikegami
in thread File::Slurp Not As Efficient As OPEN / CLOSE
by ~~David~~
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |