rewrite returns a value on success
Added stub for setting minimum perl version