-
-
Save kentfredric/e3896a4a96e931fa7c61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use warnings; | |
use strict; | |
use Class::Load qw( load_optional_class ); | |
for my $module ( @ARGV ) { | |
next unless load_optional_class( $module ); | |
printf "%s => %s\n", $module, $INC{ Class::Load::_mod2pm( $module ) }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment