book / BackPAN-Index

Provide an index of BACKPAN
https://metacpan.org/release/BackPAN-Index
Other
8 stars 11 forks source link

Add a "short path" feature to BackPAN::Index::Release #27

Open schwern opened 10 years ago

schwern commented 10 years ago

BackPAN::Index::Release->path is too much for a lot of purposes. authors/id/S/SO/SOMEONE/Foo-Bar-1.23.tar.gz is useful if you want to build a URL to fetch the file, but if all you want is a canonical name for a release archive, SOMEONE/Foo-Bar-1.23.tar.gz is enough.

I've been calling this "short_path". I have some reservations that name isn't descriptive enough.