I am trying to access perl files from browser, I mean I need to execute perl files from web bowser.

In the httpd.conf file I have put like the following,

<Directory /export/home/wasadmin/bpp_cfa/rel/cgi-bin>
AllowOverride All
Options +ExecCGI
</Directory>



& also in some other place

<Directory "/export/home/wasadmin/bpp_cfa/rel/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>


In this "/export/home/wasadmin/bpp_cfa/rel/cgi-bin" directory all the perl files are there which I need to execute in browser, means when the perl files will be executed some outputs should come in the browser.


But when I am trying to access the perl files it is not executing only the code is coming in the browser,like following,


######################################################################
use CGI;

require "cfaCommon.pl";
require "globVar.pl";


&cfaInitGlobal();
$query = new CGI;

.................
....................


Can anyone help me out, how the perl file itself will be executed in the browser???