summaryrefslogtreecommitdiff
path: root/ldpl
diff options
context:
space:
mode:
Diffstat (limited to 'ldpl')
-rwxr-xr-xldpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/ldpl b/ldpl
new file mode 100755
index 0000000..f8bacda
--- /dev/null
+++ b/ldpl
@@ -0,0 +1,11 @@
+#!/usr/bin/env perl
+
+use warnings;
+use strict;
+use feature 'say';
+
+die "Usage: $0 Module::Name" unless @ARGV;
+
+eval "require $ARGV[0]" or die "require $ARGV[0]: $!";
+
+say $_ . " => " . $INC{$_} for keys %INC;