From: Daniel Carrera Date: 2003-04-20T14:49:40+09:00 Subject: Re: Multi-Lingual Ruby On Sun, Apr 20, 2003 at 02:40:09PM +0900, Jim Weirich wrote: > Perl allows the same thing. Consider the file masquerade.pl ... > It also works for the shells (then again, I would have expected that). But it doesn't work for Python: dcarrera ~ $ cat example.pl #!/usr/bin/env ruby puts "Hello World" dcarrera ~ $ perl example.pl Hello World dcarrera ~ $ sh example.pl Hello World dcarrera ~ $ tcsh example.pl Hello World dcarrera ~ $ csh example.pl Hello World dcarrera ~ $ python example.pl File "example.pl", line 2 puts "Hello World" ^ SyntaxError: invalid syntax dcarrera ~ $ -- Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137