Created
February 27, 2014 20:27
-
-
Save preaction/9258837 to your computer and use it in GitHub Desktop.
Find modules used by perl code
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
ack -f --perl | ack '^\s*use ([^\s;(]+)' --output='$1' --noheading -h -x > ~/modules.txt | |
sort < ~/modules.txt | uniq -c | sort -k 1 -n -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment