in reply to Re^2: database sorter script
in thread database sorter script
Assuming you have a hash per record:
my @section; while(my $r = $db->fetchrow) { push @section, $r if $r->{name} =~ /^A/i; }
my @section = grep { $_->{name} =~ /^A/i } $db->fetchrows;
|
|---|