my $username = "usernamehere"; print "Duplicate!\n" if getpwnam($username);