in reply to Dynamically choosing the perl path
The canonical approach would be to use
Differing paths to env will torpedo this, of course.