Why not adopt me?
NAME
Devel::REPL::Plugin::Editor - Add #edit command to drop into an editor for longer expressions
VERSION
version 0.02
SYNOPSIS
# in ~/.re.pl/repl.rc
$_REPL->load_plugin('Editor');
DESCRIPTION
This plugin adds an edit
command to your REPL, invoked using #edit
(or using whatever "default_command_prefix" in Devel::REPL::Plugin::Turtles is). When you run the the edit command, the REPL drops you into $ENV{'EDITOR'}
, and the code you type in that file is executed after you exit the editor. edit
accepts an optional filename as the file to edit. If you don't provide one, a temporary one will be created; you can open it again with the #redit
command.
SEE ALSO
AUTHOR
Rob Hoelz <rob@hoelz.ro>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Rob Hoelz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/hoelzro/devel-repl-plugin-editor/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.