develooper Front page | perl.perl5.porters | Postings from August 2001

Re: The coderef in @INC strikes back

Thread Previous | Thread Next
Rafael Garcia-Suarez
August 23, 2001 06:49
Re: The coderef in @INC strikes back
Message ID:

On 2001.08.23 15:27:21 +0200 Randal L. Schwartz wrote:
> >>>>> "Rafael" == Rafael Garcia-Suarez <> writes:
> Rafael> Do we need the ability to include source code filters via
> Rafael> hooks in @INC ?
> Wasn't this to support gzipped @INC hierarchies?  Or does that use a
> different mechanism?  I recall someone saying that they could get
> gzipped @INCs working now that ___ was done.  Was this it?

I had a quick look at ex::lib::zip 0.02 (I assume that's the module
you recall) -- it puts an object in @INC and its INC method returns
undef or a filehandle.

The filter feature I was referring to is when the INC method returns a list
containing a (possibly null) filehandle and a filter subroutine. And that's
actually subtly broken and difficult to use (compared to Filter::Simple).
I don't know if someone actually uses this.

Rafael Garcia-Suarez

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About