App-sdif

 view release on metacpan or  search on metacpan

lib/App/watchdiff.pm  view on Meta::CPAN

my %termcap = pairmap { $a => ansi_code($b) }
    qw(
	  home  {CUP}
	  clear {CUP}{ED2}
	  el    {EL}
	  ed    {ED}
     );

sub run {
    my $opt = shift;
    local @ARGV = @_;

    use Getopt::EX::Long;
    Getopt::Long::Configure(qw(bundling require_order));
    $opt->getopt or usage({status => 1});

    use Getopt::EX::Colormap;
    my $cm = Getopt::EX::Colormap
	->new(HASH => \%colormap)
	->load_params(@{$opt->colormap});

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.554 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )