From: Tim Hunter Date: 2003-01-29T10:04:12+09:00 Subject: Re: program name -> perl's $0 On Wed, 29 Jan 2003 09:17:52 +0900, Gavin Sinclair wrote: > On Wednesday, January 29, 2003, 10:50:59 AM, Daniel wrote: > >> Anyone have a reference to all the special variable names? In particular >> the perl equiv of $0, the program name? > > I'm sure you can find information like that in the Pickaxe. If not, > see lib/English.rb in the Ruby distribution. > > Gavin Speaking of the Pickaxe, I see that amazon.com is offering used copies for as little as US$10.70. I guess this is good for Rubyists in general if bad for Dave & Andy in particular. Also, Gavin, Matz's "Ruby Language Reference Manual" (a part of your doc bundle) contains a list of pre-defined variables. Although the document is a bit out-of-date, it certainly includes a description of $0.