App-cpangrep

 view release on metacpan or  search on metacpan

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

264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
    }
    else {
        return 1 if $ENV{'TERM'} =~ /^(xterm|rxvt|linux|ansi|screen)/;
        return 1 if $ENV{'COLORTERM'};
    }
    return 0;
}
 
sub debug {
    return unless $DEBUG;
    warn "DEBUG: ", @_, " [", join("/", (caller(1))[3,2]), "]\n";
}
 
1;
__END__
 
=encoding utf-8
 
=head1 NAME
 
App::cpangrep - Grep CPAN from the command-line using grep.cpan.me



( run in 0.298 second using v1.01-cache-2.11-cpan-00829025b61 )