in reply to Re: Re: Calling variable variables
in thread Calling variable variables

But you shouldn't do that unless your TheDamian. ;-)

Why not? It's often the only way to get to those variables. In scriptinfo.pl, an Irssi script, I use symbolic references all the time, and I know of no other way to do this. Symbolic references are to be avoided, but you can't always.

my $name = ${ "Irssi::Script::${data}::IRSSI" }{name}; my $url = ${ "Irssi::Script::${data}::IRSSI" }{url}; my $version = ${ "Irssi::Script::${data}::VERSION" };

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.