in reply to Re: Shebang behavior with perl
in thread Shebang behavior with perl

providing "the rest of the input-file" to the subprocess

Misleading, as it implies the contents of the file, without the shebang line, are provided to the executed process; in fact, the file's name is provided as a command-line argument to the program specified on the shebang line.