NAME

App::Tel::Color - Methods for managing App::Tel::Color:: modules

load_syntax

$self->load_syntax('Cisco');

This attempts to load syntax highlighting modules. If it can't find the module it just won't load it.

Returns $self.

Multiple files can be chain loaded by using plus:

$self->load_syntax('Default+Cisco');

new

my $colors = App::Tel::Color->new($debug);

Initializes a color library. You can load syntax parsers by calling load_syntax.

colorize

my $output = $self->colorize($input);

Calls the parser routine for all the loaded syntax modules.