Sunday, 14 April 2013

single if statement



print "Enter the password";
chomp ($s=<STDIN>);
$s eq "y" ? print "hi" : print "Bye" ;

No comments:

Post a Comment