http://www.perlmonks.org?node_id=633743


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

#!/usr/bin/perl -w
in the first line of your script (to tell server where the perl is)