in reply to Display the data passed from php
Usually CGI scripts are placed in cgi-bin directory (with 755 access rights).
So your form must look like
<form method="get" action="/cgi-bin/mail_contact.pl" onsubmit="return +validate()">
Also don't forget to add
in the first line of your script (to tell server where the perl is)#!/usr/bin/perl -w
In Section
Seekers of Perl Wisdom