Bug 35196: Remove misc/perlmodule_* scripts

These scripts are outdated and no longer needed in
the codebase.

To test:
* Verify both perlmodule_* scripts have been removed from misc/

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-10-31 10:14:18 +00:00 committed by Tomas Cohen Arazi
parent 53ccbc7b61
commit e49abfa6b5
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 0 additions and 34 deletions

View File

@ -1,12 +0,0 @@
#!/usr/bin/perl
use strict;
use warnings;
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}

View File

@ -1,22 +0,0 @@
#!/usr/bin/perl
# Remove a perl module
use Modern::Perl;
use ExtUtils::Packlist;
use ExtUtils::Installed;
$ARGV[0] or die "Usage: $0 Module::Name\n";
my $mod = $ARGV[0];
my $inst = ExtUtils::Installed->new();
foreach my $item (sort($inst->files($mod))) {
print "removing $item\n";
unlink $item;
}
my $packfile = $inst->packlist($mod)->packlist_file();
print "removing $packfile\n";
unlink $packfile;