in reply to Re: Dynamic Settings from Database, $$string help
in thread Dynamic Settings from Database, $$string help

Do you mean that $lastlog should have the value of the last $name? Then you can simply do:

my (%settings,$name,$value); while ((undef,$name, $value) = sql->fetchrow_array()) { $settings{$name}=$value; } $sql->finish(); print "$name\n";
-- Joost downtime n. The period during which a system is error-free and immune from user input.