That's not the case. Perl on Windows parses the line for command-line-like flags because it has to (so -w and -l and -T and so forth will work), but since Perl is already running, it doesn't care about what binary the script claims should be invoked.