Subject: | Tag seems to have gone missing |
eval: my $fmt = String::Tagged->new( "[%H:%M] " )->apply_tag( 1, 2, fg => "red" )->apply_tag( 4, 2, fg => "blue" );
(Cannot represent ref String::Tagged)
eval: print $fmt->debug_sprintf
[%H:%M]
[] fg => red
[] fg => blue
eval: $fmt->get_tags_at( 0 )
{ }
eval: $fmt->get_tags_at( 1 )
{ fg => 'red' }
eval: $fmt->get_tags_at( 2 )
{ fg => 'red' }
eval: $fmt->get_tags_at( 3 )
{ }
eval: $fmt->get_tags_at( 4 )
{ }
eval: $fmt->get_tags_at( 5 )
{ }
eval: $fmt->get_tags_at( 6 )
{ }
eval: $fmt->get_tags_at( 7 )
{ }
Where'd blue go?
--
Paul Evans