There's also relative pitch which I understand can be learned at any age.
Perfect pitch is like recognizing a color. You instantly know what it is as soon as you see it.