1Devel::REPL::Plugin::CoUlsoerrs(C3o)ntributed Perl DocumDeenvtealt:i:oRnEPL::Plugin::Colors(3)
2
3
4
6 Devel::REPL::Plugin::Colors - Add color to return values, warnings, and
7 errors
8
10 version 1.003029
11
13 use Devel::REPL;
14
15 my $repl = Devel::REPL->new;
16 $repl->load_plugin('LexEnv');
17 $repl->load_plugin('History');
18 $repl->load_plugin('Colors');
19 $repl->run;
20
22 Colors are very pretty.
23
24 This plugin causes certain prints, warns, and errors to be colored.
25 Generally the return value(s) of each line will be colored green (you
26 can override this by setting "$_REPL->normal_color" in your rcfile).
27 Warnings and compile/runtime errors will be colored with
28 "$_REPL->error_color". This plugin uses Term::ANSIColor, so consult
29 that module for valid colors. The defaults are actually 'green' and
30 'bold red'.
31
33 "Devel::REPL"
34
36 Bugs may be submitted through the RT bug tracker
37 <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL> (or
38 bug-Devel-REPL@rt.cpan.org <mailto:bug-Devel-REPL@rt.cpan.org>).
39
40 There is also an irc channel available for users of this distribution,
41 at "#devel" on "irc.perl.org" <irc://irc.perl.org/#devel-repl>.
42
44 Shawn M Moore, "<sartak at gmail dot com>"
45
47 Copyright (C) 2007 by Shawn M Moore
48
49 This library is free software; you can redistribute it and/or modify it
50 under the same terms as Perl itself.
51
52
53
54perl v5.38.0 2023-07-20 Devel::REPL::Plugin::Colors(3)