in reply to How to use dynamic execution path instead of absolut.
The classic way is to use:
#!/usr/bin/env perl [download]