Skip to content

Instantly share code, notes, and snippets.

@clok
Last active October 7, 2015 15:57
Show Gist options
  • Save clok/3189824 to your computer and use it in GitHub Desktop.
Save clok/3189824 to your computer and use it in GitHub Desktop.
list installed perl modules
#! /bin/bash
perl -MFile::Find=find -MFile::Spec::Functions -lw -e 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment