From: Carlos Date: 2002-10-25T02:47:39+09:00 Subject: Re: ruby calls perl > C> Why does ruby call perl? > > Copyied from a P language (after a gsub :-)) > > If the #! line does not contain the word "ruby", the pro� > gram named after the #! is executed instead of the Ruby > interpreter. This is slightly bizarre, but it helps peo� > ple on machines that don't do #!, because they can tell a > program that their SHELL is /usr/bin/ruby, and Ruby will > then dispatch the program to the correct interpreter for > them. And does anybody actually tell a program that their SHELL is ruby? I think this feature is useless and confusing.