How to take input From User in perl Language

<STDIN> stands for standard input. It can be abbreviated by using simple <>. By declaring a scalar variable and setting it equal to <STDIN> we set the variable equal to whatever will be typed by our user at the command prompt.


print"enter  your  name : ";

$name=<STDIN>;


if($name cmp "abdullah")

{
print  "Your  name  Match  With : ".$name."\n";

}
else


{


print $name. "Not  match :\n"

}