Rob Hoelz > Devel-REPL-Plugin-Editor-0.01 > Devel::REPL::Plugin::Editor

Download:
Devel-REPL-Plugin-Editor-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source   Latest Release: Devel-REPL-Plugin-Editor-0.02

NAME ^

Devel::REPL::Plugin::Editor - Add #edit command to drop into an editor for longer expressions

VERSION ^

version 0.01

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.

SEE ALSO ^

Devel::REPL

AUTHOR ^

Rob Hoelz <rob@hoelz.ro>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 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.

syntax highlighting: