Help for this page
2.32) How can I convert my shell script to Perl? ... it for optimal speedup. It's not uncommon to see one, two, or even three orders of magnitude of speed difference between the brute-force and the recoded approaches.
perldoc -q shell.+script