Perry shoots self in foot