Usually, we wrote "#!/usr/bin/perl" at top of scripts, as perl is usually being installed there.
However, if I provide a script within a CPAN package, there comes a problem: somebody (like me) may have another perl besides the system-default one, and installed the package using that specific perl. How could the script get to know which perl installed him, and run with that perl?
Thanks a lot!
In reply to portable "#!" line? by llancet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |