incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <>
Subject [lucy-dev] Re: Failed: PAUSE indexer report KARMAN/Lucy-0.3.0.tar.gz
Date Wed, 15 Feb 2012 19:03:53 GMT
On 2/15/12 11:17 AM, David E. Wheeler wrote:

> Some might find it a bit annoying, but it’s probably the safest way
> to manage Perl module versions. The second way to do it is lazier:
> Just put this line in every Perl module in a distribution:
> require Lucy; our $VERSION = eval $Lucy::VERSION;
> And yes, it has to be on one line so that Module::Build will parse
> out the one line and eval it. I think this would be safe, though I
> don’t know if you want to load in every file.

+1 to that idea. Lucy is mostly XS with pro forma .pm files so 'use 
Lucy' is implicit in every Lucy::* class already.

Peter Karman  .  .

View raw message