in reply to How to use dynamic execution path instead of absolut.

I am sure I have seen this question before.

The classic way is to use:

#!/usr/bin/env perl
But this changes the question to: env is sometimes in /usr/bin or /bin, .... .
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium