From: Mark Hulme Jones Date: 2002-05-30T23:04:28+09:00 Subject: Re: object-name = content of a variable (migration from perl) Michael Campbell writes: > --- Marc Rene Arns wrote: > > I'm not sure if you got me right. The dynamically changing > > array-names was in respect to the abilities of PERL. > > One poster used "eval" to do this, which is certainly possible. > > I have to ask though... why? Just to see how ruby mimics a perl > language feature? > > If I recall correctly, perl's soft references are little more than > syntactic sugar for a specific form of "eval" anyway. Not only this, but soft/symbolic references are considered 'dangerous', and don't work if you 'use strict;', something that any Perl program over a dozen or so lines should probably be doing. -- Mark Hulme-Jones < ture@plig.net >