use $^X to make sure that test against the same perl that you are installing with