in reply to storing variable names in an array

You can probably accomplish what you're asking using soft references. This is considered bad form, however, and as many have pointed out already, you should use a hash instead.

Replies are listed 'Best First'.
Re^2: storing variable names in an array
by ambrus (Abbot) on Jun 11, 2005 at 15:27 UTC

    Perldoc perlref specifically asks you not to call them "soft references". They're symbolic references. Just like in unix, you have hard links and symbolic links (symlinks).