Raul Miller <rdm@test.legislate.com> writes: > The executable name is not lost: > > #!/bin/perl > print "$ARGV0\n"; Really? Where does the value of $ARGV0 come from? The argv[0] received by Perl ends up in $^X which was "/bin/perl" when I tried it. This is not the original argv[0] given to exec. It seems to me that hurd-19990425/exec/hashexec.c discards the original argv[0] unless it is a name of the script file.