From: "Mauricio Fernández" Date: 2003-04-20T16:11:24+09:00 Subject: Re: Multi-Lingual Ruby On Sun, Apr 20, 2003 at 02:49:40PM +0900, Daniel Carrera wrote: > 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 ~ $ Can we infer something on the evilness of languages (as in 'intention to take on the world') ;-) ? -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Save yourself from the 'Gates' of hell, use Linux." -- like that one. -- The_Kind @ LinuxNet