5 use FS::UID qw( adminsuidsetup );
6 use FS::Record qw( qsearch );
9 my $user = shift or die &usage;
10 my $dbh = adminsuidsetup($user);
12 #my $pkgnum = shift or die &usage;
13 #my $svcpart = shift or die &usage;
15 my @svc_phone = qsearch( {
16 'table' => 'svc_phone',
17 'hashref' => { 'phonenum' => { op=>'LIKE', value=>'3125%', } },
22 foreach my $svc_phone ( @svc_phone ) {
23 my $error = $svc_phone->delete;
30 print $dbh->sprintProfile;
33 die "Usage:\n svc_phone-bulk_delete user\n";