read perl modules like perl does