From: William Carpin Date: 2006-09-06T23:46:58+09:00 Subject: Ruby Newbie - array/hash help Given the following code... my $ds = new DataSources($dbh); my $data_sources = $ds->getTableNames(); foreach my $table_name (keys %{$data_sources}){ ...some code... } Is there any effective way to reproduce the above foreach loop in Ruby? I've been doing research, but I can't make heads or tails of it. Any assistance would be greatly appreciated. -- Posted via http://www.ruby-forum.com/.