As the Anonymous Monk already said, you can use open or sysopen, but there probably won't be much difference, as most likely the majority of the time is spent in the underlying system call open(2), i.e. outside of the Perl program/in the kernel.
If you really want to know: Benchmark.
In reply to Re^3: Most efficient way to print a file?
by Anonyrnous Monk
in thread Most efficient way to print a file?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |