Hi
can anyone help me in writing this
here is the code i wrote which is not woring properly
thanks
can anyone help me in writing this
here is the code i wrote which is not woring properly
Code:
print "Enter the E-Mail address\n";
$_=<>;
if($_[0] !~ m\[0-9]\)
{
if(/[a-zA-Z[\.]_]+@[a-zA-Z]+.[a-zA-Z]\.[a-zA-Z]/)
{
print "its a valid Address\n";
}
else
{
print "Sorry,Its not a valid address\n";
}
}
else
{
print "Sorry,Its not a valid address\n";
}
Comment