ffap-perl-module.el lets
Emacs
ffap
("find file at point") go to the source for a perl module. For example,
if a module file exists (otherwise falling back toFoo::Bar--->/usr/share/perl5/Foo/Bar.pm
ffap's other
finding). There's various gambits to get the package part of a
fully-qualified name, prune back subpackages, or add a package prefix if
abbreviated in documentation etc.
ffap-perl-module.el is
free software (free
as in freedom), published under the terms of the
GNU General Public
License (v3 or up). Download version 11 here, or in my
miscbits-el collection:
ffap-perl-module.el
(21k, and
sig)
The sig file is an Gnu PG ascii armoured signature generated from my key.
Here's some other ways to do the same thing. They're mainly separate
commands. It's a matter of personal preference whether you want
ffap for all sorts of finding, or keep it separate.
cperl-mode, that's just where most often used.
perl-find-library.el
has a simple command looking through @INC like the ffap
here, but without the class name pruning.
ps/find-source-for-module-at-point likewise. It uses
its perly_sense program so you must have it and its various
module dependencies installed first.
And see also my other miscellaneous
ffap bits.
This page Copyright 2009, 2010 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.