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;
In reply to Re^3: database sorter script
by bart
in thread database sorter script
by santander
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |