Hi,

Am Mittwoch, 25. Mai 2005, 19:28:57 +0900 schrieb Han Holl:
> On 5/24/05, Bertram Scharpf <lists / bertram-scharpf.de> wrote:
> > Am Dienstag, 24. Mai 2005, 18:19:37 +0900 schrieb Han Holl:
> > > As recommended in the pickaxe I often have a section at the end of a
> > > .rb file with
> > > if __FILE__ == $0
> > > ....
> > > end
> > >
> > Hello, here is `a'.
> > --------------------
> > Which OS are you working under?
> 
> This had my puzzled for a while, until I added '#!/usr/bin/ruby' to
> a.rb, and made it executable.
> Then ./a.rb produced:
> ["./a.rb", "./a.rb"]
> Hello, here is `a'.
> ["./b.rb", "./a.rb"]
> ["./a.rb", "./a.rb"]
> Hello, here is `a'.

Still not here. Under which circumstances do you execute?
Me: 1.8.2 apt and 1.9 self-compiled, Debian.

Just curious.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de