W
William Carpin
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.
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.