From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

App::colourhexdump::DefaultColourProfile - The default colour profile

VERSION

version 1.000003

SYNOPSIS

This is the default colour profile.

\r => black on red '_'
\n => bold bright blue '_'
" " => blue '_'
\t => bold bright blue on yellow '_'
alphanumeric => white $char
nonprintable => red '.'
everything else => yellow $char

Invocation:

my $cp = App::colourhexdump::DefaultColourProfile->new();
my $colouredChar =
$cp->get_string_pre( $char ) .
$cp->get_dispaly_symbol_for( $char ) .
$cp->get_string_post( $char );

METHODS

get_colour_for

See "get_colour_for" in App::colourhexdump::ColourProfile

get_display_symbol_for

See "get_display_symbol_for" in App::colourhexdump::ColourProfile

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.