when javascript is disabled in browser

[email protected] ("Rahul!!") Mon, 14 Mar 2011 06:25:00 -0700 (PDT)
Newsgroups perl.beginners.cgi
Organization http://groups.google.com
Message-ID <6e029ab0-c813-4f35-9118-8bc9f86d268f@k15g2000prk.googlegroups.com>
I am new to cgi-perl web development. When javascript is disabled in
the browser, how to validate it from the CGI file?? I want to do
something like this,

if (/javascript is disabled){
     print "<br> This webapp needs javascript, please enableable
javascript and retry";
     exit;
}else
#move on
}