logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Devel::REPL::Plugin::Colors - Add color to return values, warnings, and errors

Author

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

Description

       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'.

Name

       Devel::REPL::Plugin::Colors - Add color to return values, warnings, and errors

See Also

       "Devel::REPL"

Support

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

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

Synopsis

           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

See Also