How do I calculate a vector perpendicular to a vector?

It is for some easy camera positioning -- creating a 2d game, need the camera to go out perpendicular from the player to a certain distance and stay there.