prune_applications();
+=head1 SUBROUTINES
+
+=over 4
+
=item prune_applications OPTION_HASH
Removes applications of credits to refunds in the event that the database
sub prune_applications {
my $options = shift;
- my $dbh = dbh
+ my $dbh = dbh;
local $DEBUG = 1 if exists($options->{debug});
+
my $ccr = <<EOW;
WHERE
0 = (select count(*) from cust_credit