Is there any other way to execute.
In the configuration
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi pl
Should this be uncommented so that the script works