my $username = "someusername"; print "Username '$username' exists!\n" if getpwnam($username);