Perl::Editor - The Perl Refactoring Editor API
With the creation of PPI it became possible to do parsing, refactoring, and other tasks to Perl source code. Rather than requiring each editor to reimplement every single task all over again, they can instead implement an interface to Perl::Editor.
Perl::Editor
Perl::Editor is intended to provide a single API that will allow editor-related functions to be written once, as a Perl::Editor::Plugin class, and then be installed and used with any editor that acts as a Perl::Editor host.
Perl::Editor::Plugin
It is also intended to make it much easier to let you write your own editor plugins, and then use it with whatever your favourite editor happens to be!
This version is intended as a statement of intent (and to lock off the namespace. It's mine dammit! MINE!!!)
However, work is underway on a demonstration editor and commands, based on the Proton CE editor.
A demonstration will be released at OSCON and available online shortly after.
We'll get back to you on that.
Yeah, that too. :)
Pretty much everything. Stay tuned.
Bugs should always be submitted via the CPAN bug tracker, located at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-Editor
For general comments, contact the author.
Adam Kennedy, http://ali.as/, cpan@ali.as
PPI
Copyright (c) 2005 Adam Kennedy. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Perl::Editor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Editor
CPAN shell
perl -MCPAN -e shell install Perl::Editor
For more information on module installation, please visit the detailed CPAN module installation guide.