updating perl version and removing given/when warnings