App-highlight

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Pod" : "1.41"
         }
      },
      "runtime" : {
         "requires" : {
            "App::Cmd::Simple" : "0.309",
            "ExtUtils::MakeMaker" : "6.55_02",
            "Getopt::Long" : "2.39",
            "Getopt::Long::Descriptive" : "0.085",
            "Module::Load" : "0.18",
            "Try::Tiny" : "0.09"
         }
      },
      "test" : {
         "requires" : {
            "App::Cmd::Tester" : "0.309",
            "Test::More" : "0.92",
            "Test::Without::Module" : "0.17"
         }
      }
   },

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: App-highlight
requires:
  App::Cmd::Simple: 0.309
  ExtUtils::MakeMaker: 6.55_02
  Getopt::Long: 2.39
  Getopt::Long::Descriptive: 0.085
  Module::Load: 0.18
  Try::Tiny: 0.09
resources:
  repository: git://github.com/kaoru/App-highlight.git
version: 0.14

Makefile.PL  view on Meta::CPAN

    "bin/highlight"
  ],
  "LICENSE" => "perl",
  "NAME" => "App::highlight",
  "PREREQ_PM" => {
    "App::Cmd::Simple" => "0.309",
    "ExtUtils::MakeMaker" => "6.55_02",
    "Getopt::Long" => "2.39",
    "Getopt::Long::Descriptive" => "0.085",
    "Module::Load" => "0.18",
    "Try::Tiny" => "0.09"
  },
  "TEST_REQUIRES" => {
    "App::Cmd::Tester" => "0.309",
    "Test::More" => "0.92",
    "Test::Without::Module" => "0.17"
  },
  "VERSION" => "0.14",
  "test" => {
    "TESTS" => "t/*.t"
  }

dist.ini  view on Meta::CPAN

abstract         = A simple grep-like filter that highlights chosen words or lines rather than removing non-filtered lines.
author           = Alex Balhatchet <kaoru@slackwise.net>
license          = Perl_5
copyright_holder = Alex Balhatchet
copyright_year   = 2010

[Prereqs / RuntimeRequires]
ExtUtils::MakeMaker       = 6.55_02
App::Cmd::Simple          = 0.309
Module::Load              = 0.18
Try::Tiny                 = 0.09
Getopt::Long              = 2.39
Getopt::Long::Descriptive = 0.085

[Prereqs / TestRequires]
Test::More            = 0.92
App::Cmd::Tester      = 0.309
Test::Without::Module = 0.17

[MetaResources]
repository.web  = http://github.com/kaoru/App-highlight

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

use strict;
use warnings;

package App::highlight;
{
  $App::highlight::VERSION = '0.14';
}
use base 'App::Cmd::Simple';

use Try::Tiny;
use Module::Load qw(load);
use Getopt::Long::Descriptive;

my $COLOR_SUPPORT = 1;
my @COLORS;

my %COLOR_MODULES = (
    'Term::ANSIColor' => [ 'color', 'colored' ],
);



( run in 0.816 second using v1.01-cache-2.11-cpan-05444aca049 )