Short of writing a perlscript to do it, searching @INC for modules can be a 
pain. How's about a switch that searches @INC for modules matching a regex 
instead of executing anything (behaves like perl -v), so for example:

  perl -M 'spook'

might return

  /usr/local/lib/perl5:
  -rw-r--r--   1 root     other      13889 Mar 21  1996 spook.pl

or
  perl -M 'st\D+'

  /usr/local/lib/perl5:
  -r--r--r--   1 root     other      658 Jan 11  1996 stat.pl
  -r--r--r--   1 root     other       2175 Jun  4  1997 strict.pm


Just a thought.

-E
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Reply via email to