apache is working on my mac but when i run this script http://localhost/cgi-bin/mb.cgi then i press submit button it was suppose to open a perl script to save the information on a file but it this me this following error:
500 internet server error.
Please Guys help...i need to run the cgi and perl properly on my mac...i have copied all the files to Libary/Webserver/CGI Executablefiles ..but still the error persists.

Run your cgi, as perl script on a CLI and see if it works first, if fine, then the script should not be the problem, you may also check your error.log in the log folder inside Apache, that should point you in the right direction!