Re: "What is the !@#$ pathname of Perl on *this* machine?"

Will French (wfrench@interport.net)
Thu, 20 Feb 1997 16:36:15 -0500 (EST)


> Why not implement it as #?perl, and define a new binfmt interpreter
> which rewrites it as #!/usr/bin/perl (or whatever), and then calls the
> #! interpreter? Having binfmt interpreters do a bit of prework and then
> call another interpreter is how binfmt_java is implemented, after all.

> This way, we avoid the conflict altogether.

But that breaks any scripts whose first lines are comments
that begin with '#?'.

Will French <wfrench@interport.net>