in reply to Problems returning values from a db and putting into a hash
I _think_ what you want is
But I'm hampered a bit because I don't understand the variable names.$dados{$fil} = {$gel => {"$dte" => { cliente => "$rs", negocio => "$neg", + status => "$st", + valor => "$vp", nome => "$gen" + } + } };
AHA! GOT IT!
It's your foreach. You're not using $_, you're using $fil, but the foreach is setting $_
--
Mike
|
---|