You could start with Term::ANSIColor. Insert the ANSI-sequences for red/bold at the start of a sequence to be highlighted and switch back to normal at the end of the sequence.
In reply to Re: bold color text and export to file
by Perlbotics
in thread bold color text and export to file
by newtoperlprog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |