Devel::PerlySense package contains IntelliSense for Perl.
PerlySense is an IntelliSense style utility for editors.
Conveniently navigate and browse the code and documentation of your project and Perl installation.
SYNOPSIS
From Emacs
C-p C-d -- Smart docs -- Show docs (POD/signature/etc) for the symbol (module/method/sub) at point. A doc hint is displayed in the message area (for methods and subs), or a new POD buffer is created (for modules).
C-p C-g -- Smart go to -- Open file at proper location for module, method/sub declaration for the symbol (module/method/sub) at point. If no sub declaration is available (like for generated getters/setters), any appropriate POD is used instead.
C-p m f -- Perl Module open File -- Open the source file of the
As you can see, PerlySense duplicates some of the functionality in cperl-mode, and does more in certain areas.
From the command line
This is not very convenient unless you let your editor do it.
perly_sense
find_module_source_file --module=Foo::Bar --file_origin=/usr/home/source/lib/Foo.pm
perly_sense
display_module_pod --module=Your::Foo::Bar --dir_origin=/usr/home/source perly_sense display_module_pod --module=Data::Dumper
perly_sense display_file_pod --file=Foo/Bar.pm
From other editors
Any editor that is programmable and that can call a shell script could take advantage of PerlySense to implement something similar to the Emacs functionality. And most editors are programmable by the authors, if not by the users.
From Perl
See the bin/perly_sense script, or the t directory.
Requirements:
· Perl