And it's not going to work, either. The shebang line is interpreted by the system, not by perl. If you really must do this try simply #!perl and then make sure the version of perl you need is the first thing in the $PATH environment var. Note that this is a security risk.
----
Reinvent a rounder wheel.
Note: All code is untested, unless otherwise stated
In reply to Re: #!$var/bin/perl
by hardburn
in thread #!$var/bin/perl
by perlisfun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |