http://www.perlmonks.org?node_id=242727


in reply to #!$var/bin/perl

See several alternatives here.

-s.