Last active
December 15, 2015 12:39
-
-
Save moznion/5261898 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
requires 'App::cpanminus' => '1.6008'; | |
requires 'JSON' => '2.53'; | |
requires 'Furl' => '2.10'; | |
_requires 'List::Util' => 0; | |
on 'configure' => sub { | |
requires 'Module::Build' => '0.40'; | |
requires 'Module::Build' => '0.09'; | |
}; | |
on 'build' => sub { | |
requires 'Test::More' => '0.98'; | |
}; |
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/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use 5.012000; | |
use Module::CPANfile; | |
my $file = $ARGV[0]; | |
my $parser = Module::CPANfile->load($file); | |
my $res = $parser->parse(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I expect the above command will output
however it outputs
It inform us that error line number that is increased 5 lines.