summaryrefslogtreecommitdiff
path: root/ldpl
diff options
context:
space:
mode:
authorNick Shipp <nick@shipp.ninja>2017-06-03 01:33:15 -0400
committerNick Shipp <nick@shipp.ninja>2017-06-03 01:33:15 -0400
commit40f17d1f4bd03c48cb89a6e70e9cd7a3259334c6 (patch)
tree5984140fe779d76aac734bf0cc1474c2a03bddce /ldpl
Initial commitHEADmaster
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;