App-Greple-charcode

 view release on metacpan or  search on metacpan

lib/App/Greple/annotate.pm  view on Meta::CPAN

    for (@{$list->annotation}) {
	if ((my $extend = $pos - $_->[0]) > 0) {
	    $_->annon =~ s/(?=([─]))/$1 x $extend/e;
	}
    }
}

sub annotate {
    config('annotate') or return;
    if (my @annon = $annotation->shift) {
	say $_->annon for @annon;
    }
    undef;
}

1;

__DATA__

builtin annotate! $opt_annotate



( run in 0.546 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )