Devel:...:Colors(3pm)
β¨ NAME β¨
Devel::REPL::Plugin::Colors β bestie, this is the plugin that makes your REPL output cute. It adds color to return values, warnings, and errors. π
πΈ VERSION πΈ
version 1.003029
π¦ SYNOPSIS π¦
use Devel::REPL;
my $repl = Devel::REPL->new;
$repl->load_plugin('LexEnv');
$repl->load_plugin('History');
$repl->load_plugin('Colors');
$repl->run;
π DESCRIPTION π
okay so, real talk: colors are very pretty. periodt. β¨
This plugin causes certain prints, warns, and errors to be colored. The vibe is this β generally the return value(s) of each line get colored green (and yes you can override that by setting $_REPL->normal_color in your rcfile, go off π).
Warnings and compile/runtime errors? Those get colored with $_REPL->error_color. π
This plugin uses Term::ANSIColor, so consult that module for valid colors β it's the plug, iykyk. The defaults are actually 'green' and 'bold red'. bold red for errors is giving main character energy, honestly.
π SEE ALSO π
Devel::REPL β the parent, the icon, the moment. π«Ά
π 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>. Come hang out fr fr. π¬
π§ AUTHOR π§
Shawn M Moore, "<sartak at gmail dot com>" β thank you for your service, legend. π«‘
π COPYRIGHT AND LICENSE π
Copyright (C) 2007 by Shawn M Moore
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
no cap, that's the whole page. slay.
perl v5.34.0 β dated 2022-06-03 β and that's the tea, bestie π
π¦ where this page comes from
- debian bookworm: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms