App-lcpan
view release on metacpan or search on metacpan
lib/App/lcpan/Cmd/doc.pm view on Meta::CPAN
file.cpanid author,
file.name release
FROM content
LEFT JOIN file ON content.file_id=file.id
".(@where ? " WHERE ".join(" AND ", @where) : "")."
ORDER BY content.size DESC
LIMIT 1", {}, @bind);
last LOOK if $row;
if ($ext eq 'pod') {
# .pod doesn't always declare package so we also try to guess
# from content path
$name =~ s!::!/!g; $name .= ".pod";
@where = ("content.path LIKE ?");
push @where, ("NOT(file.name LIKE '%-Lumped-%')"); # tmp
@bind = ("%$name");
my $sth = $dbh->prepare("SELECT
content.path content_path,
file.cpanid author,
file.name release
( run in 0.821 second using v1.01-cache-2.11-cpan-702932259ff )