in reply to Dynamic Settings from Database, $$string help

Hashes exist for this purpose.
my %settings; while ((undef, my ($name, $value)) = $sql->fetchrow_array()) { $settings{$name} = $value; }
Update: This does mean you have to say $settings{ip} to get at the IP address. If you're familiar with named array values in PHP, it's very similar.