Skip to content

Instantly share code, notes, and snippets.

@sugar84
Created June 24, 2011 08:40
Show Gist options
  • Save sugar84/1044446 to your computer and use it in GitHub Desktop.
Save sugar84/1044446 to your computer and use it in GitHub Desktop.
Oneliner to search perl-module
perl -le '$r = "Mojolicious"; for (@INC) {opendir $dh, $_; if (@a = grep {/$r/} readdir $dh) {print $_.":"; print for @a}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment