in reply to Dynamically choosing the perl path

Maybe check Can I write a transparent shell wrapper to start the correct build of Perl? for a similar question. Maybe one of the answers there will help?