if (($usernm ne 'sugar') || ($passwd ne 'spice')){ print " the error of authorization \n"; #....... }