The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mpath - display the full path to a perl module (installed locally)

SYNOPSIS

  % mpath Module::Path
  /usr/local/lib/perl5/site_perl/5.16.0/Module/Path.pm

DESCRIPTION

mpath displays the full path to a perl module on the local system. It uses the module_path() function from Module::Path to get the path.

At the moment the script only lets you list one argument; anything else and it will die with a usage message.

If the module wasn't found, mpath will die with the following message:

  % mpath Foo::Bar
  Foo::Bar not found

SEE ALSO

Module::Path

AUTHOR

Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Neil Bowers <neilb@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.