Craig A. Berry wrote:
It doesn't say what value it should have if the system doesn't support that construct, nor does it say exactly what "that construct" is. VMS supports the shebang line to the extent that it will read switches found there, but it will not use it to figure out which Perl to run.
Perl 5.10 (maybe 5.8.8) on VMS will use it in the piped variant of the open command to determine which perl to try to run. If it does not find the requested perl, it falls back to the verb or symbol C<PERL>. It will also work for any other scripting language that supports shebngs installed on VMS in the same way.
GNV Bash will also honor the shebang line. I think it will default to falling back to the symbol/verb, but that can be disabled. Because the fall back to DCL is badly broken in GNV bash, I usually run with that fall back disabled.
-John [EMAIL PROTECTED] Personal Opinion Only