Devel::REPL::Plugin::Colors(3pm)

Devel::REPL::Plugin::Colors3pm

Add color to return values, warnings, and errors

Usage

    use Devel::REPL;
    my $repl = Devel::REPL->new;
    $repl->load_plugin('LexEnv');
    $repl->load_plugin('History');
    $repl->load_plugin('Colors');
    $repl->run;

Version

version 1.003029

Overview

Colors are very pretty.

This plugin causes certain prints, warns, and errors to be colored. Generally the return value(s) of each line will be colored green (you can override this by setting "$_REPL->normal_color" in your rcfile). Warnings and compile/runtime errors will be colored with "$_REPL->error_color". This plugin uses Term::ANSIColor, so consult that module for valid colors. The defaults are actually 'green' and 'bold red'.

Support

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL> (or [email protected] <mailto:[email protected]>).

There is also an irc channel available for users of this distribution, at "#devel" on "irc.perl.org" <irc://irc.perl.org/#devel-repl>.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–11
  6. 12–13

Author

Shawn M Moore, "<sartak at gmail dot com>"

From libdevel-repl-perl 1.003029-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.