aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora/simplify-drakx-modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rpmdragora/simplify-drakx-modules')
-rwxr-xr-xmodules/rpmdragora/simplify-drakx-modules5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/rpmdragora/simplify-drakx-modules b/modules/rpmdragora/simplify-drakx-modules
new file mode 100755
index 00000000..ec8df1e7
--- /dev/null
+++ b/modules/rpmdragora/simplify-drakx-modules
@@ -0,0 +1,5 @@
+#!/usr/bin/perl -pi
+
+s/^\s*use\s+(diagnostics|strict|vars|warnings).*//g;
+
+/^__END__/ and $_ = '', close ARGV;