On Tue Jan 29 09:45:52 2013, ALTREUS wrote:
Show quoted text> Perhaps with a nice interface to abstract the colours from the escape
> codes
>
> String::Tagged::Term->new("string")->red(0,1)->blue(-1,1)->bold()
Finally write a module `String::Terminal::Tagged`.
Not quite sure how neatest to interpret your suggestion there, but maybe it would be
String::Tagged::Terminal->new("string")
->apply_tag( 0, 1, fgindex => 1 )
->apply_tag( -1, 1, fgindex => 4 )
->apply_tag( -1, -1, bold => 1 );
--
Paul Evans