App-cpangrep
view release on metacpan or search on metacpan
lib/App/cpangrep.pm view on Meta::CPAN
264265266267268269270271272273274275276277278279280281282283284
}
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 )