Devel:...:Colors(3pm)

πŸ“¦
version 1.003029 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 (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