Created
August 14, 2014 12:28
-
-
Save jonasbn/c7aa8000955bd1eea762 to your computer and use it in GitHub Desktop.
Build a cpanfile file from Module::Build requirements specified in Build.PL
This file contains hidden or 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
#!/bin/bash | |
./Build prereq_report | perl -pi -e 'm/([\w:]+)\s+([\d\.]+)\s+/; if ($1) { print STDERR "requires '\''$1'\''"; print STDERR ", '\''$2'\''" if $2; print STDERR ";\n" }' > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment