You can also find information on paths to other useful programs by logging in to your Online Control Panel Control Panel and selecting 'Website Diagnostics', from there just select 'Paths and Versions'.
Note that if you are writing CGI scripts in Perl, the first line of the script should be the path to perl, prefixed with '#!', i.e., '#!/usr/bin/perl'.