I strongly disagree. You don't want your script, especially a production application, to suddenly start using a different perl (which might not be compatible or might not have the correct modules installed).
I would create a perlbrew alias for each project and use that. This would allow testing with different versions, etc. by modifying the alias.
In reply to Re^3: How to run a legacy perl version smoothly from perlbrew & Carton
by ikegami
in thread How to run a legacy perl version smoothly from perlbrew & Carton
by chrestomanci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |