Skip to content

Instantly share code, notes, and snippets.

@samuelckaufman
Last active December 25, 2015 18:09
Show Gist options
  • Save samuelckaufman/7018539 to your computer and use it in GitHub Desktop.
Save samuelckaufman/7018539 to your computer and use it in GitHub Desktop.
use strict;
use warnings FATAL => 'all';
use Module::Runtime qw[ use_module ];
my @noversions;
for(<>) {
chomp;
my $class= $_;
use_module($class) or die "$@ $!";
my $v = UNIVERSAL::VERSION($class);
push(@noversions,$class) and next unless $v;
print "$class = $v\n";
}
for(@noversions) {
warn "no version for $_\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment