#!/usr/bin/perl # use Recipe; use Data::Dumper; use strict; my $r = Recipe->new(); my %hash = $r->db_to_hash(); print "\n"; foreach my $table (keys %hash) { print " <$table>\n"; foreach my $row (keys %{$hash{$table}}) { print " \n"; foreach my $item (keys %{$hash{$table}{$row}}) { print " <$item>$hash{$table}{$row}{$item}\n"; } print " \n"; } print " \n"; } print "\n";