Zoidberg::StringParse::Syntax use StringParse for Syntax Highlighting
use Zoidberg::StringParse::Syntax; my $parser = Zoidberg::StringParse::Syntax->new; my $string = 'some string'; my $colored_string = $parser->parse($string);
This module does syntax highlighting for Zoidberg
This subclass of Zoidberg::StringParse manipulates its parent class to be usefull for syntax highlighting. It uses Term::ANSIColor for the actual highlighting.
None by default.
Simple constructor, you can suppply a custom grammar as arg.
Returns highlighted version of $string.
Jaap Karssenberg || Pardus [Larus] <j.g.karssenberg@student.utwente.nl> R.L. Zwart, <carlos@caremail.nl>
Copyright (c) 2002 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl
Zoidberg
Zoidberg::StringParse
http://zoidberg.sourceforge.net.
To install Zoidberg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zoidberg
CPAN shell
perl -MCPAN -e shell install Zoidberg
For more information on module installation, please visit the detailed CPAN module installation guide.