From: Jim Weirich Date: 2003-05-01T08:17:39+09:00 Subject: Re: ugly style variables On Wed, 2003-04-30 at 09:09, Brian Candler wrote: > On Wed, Apr 30, 2003 at 08:53:01PM +0900, ts wrote: > > >>>>> "s" == saggmannen writes: > > > > s> Perl. Let's say I'm not in love with them. Is there an alternative way > > s> to obtain the same functionality, but in a more verbose and intuitive > > s> way? > > > > Well, you have lib/English.rb which create aliases, for example > > > > pigeon% head English.rb > > alias $ERROR_INFO $! > > and some have aliases already: e.g. $: has one but I can never remember it > (digs through Ruby source code... ah yes, it's $LOAD_PATH) Actually, I tend to remember $: more easily than $LOAD_PATH. I think it is a bit ironic that the _mnemonic_ version is harder to remember (at least for me) :-) -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)