book / BackPAN-Index

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

Ability to change the BackPAN root URL #26

Open schwern opened 10 years ago

schwern commented 10 years ago

The root BackPAN URL used to make the url used to fetch a file is hard coded in BackPAN::Index::File.

  1. Make backpan_root a proper r/w accessor.
  2. Allow changing the root URL in BackPAN::Index->new.

That second bit will be tricky because DBIx::Class is the thing usually creating BackPAN::Index::File objects and changing how it does that initialization might be hard.