CARVIEW |
Select Language
HTTP/2 200
content-type: text/html; charset=UTF-8
content-encoding: gzip
strict-transport-security: max-age=31536000; includeSubDomains
accept-ranges: bytes
age: 0
date: Sat, 11 Oct 2025 15:17:25 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210027-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760195845.546172,VS0,VE540
vary: Accept-Encoding
content-length: 1795
Source code of grep::metacpan, list of git reposities - Let's grep the CPAN together
Where to find the source code of grep::metacpan ?
grep::metacpan is an open source experimental project developped by the Perl Community.
The source code is divided into three git repositories:
- metacpan-grep-front-end, the Front End website which is this website...
- metacpan-grep-builder experiment on building a git grep service of current CPAN.
- metacpan-cpan-extracted extracted CPAN, all latest files extracted in one single *big* repository. Thanks GitHub !
The concept is very basic: extract all CPAN distribution (performed by metacpan-grep-builder) in one single git directory (which lives in metacpan-cpan-extracted).
Then from there, cross fingers and use a pure 'git grep' implementation with a frontend on top of it: metacpan-grep-front-end.
The git grep is divided in two stages: 'git grep -l' to get the list of files matching the pattern (this is cached for future queries), then use the list of files to perform the actual 'git grep'.
You can also browse other metacpan projects by visiting the community github homepage.