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:
parent
53ccbc7b61
commit
e49abfa6b5
|
|
@ -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";
|
||||
}
|
||||
|
|
@ -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;
|
||||
Loading…
Reference in New Issue