develooper Front page | perl.par | Postings from September 2008

Re: PAR and modules, accessing the lib directory

Thread Previous
Eric Wilhelm
September 2, 2008 09:53
Re: PAR and modules, accessing the lib directory
Message ID:
# from Steffen Mueller
# on Tuesday 02 September 2008 05:32:

>- some modules need to be able to scan @INC, so a full extraction is
>  necessary
> ...
>- you want on demand extraction for stuff that needs to
>  be able to read its own code, but not necessarily scan @INC

Perhaps something like Module::Finder and File::Fu could create suitable 
extraction layers for that and eliminate the need for e.g. "readdir(),
catfile(), -d, -e, open(), ..." (code assuming a filesystem.)  I 
wouldn't be against patches to allow a plugin/subclass setup to allow 
these to support a virtual @INC.

"Everything goes wrong all at once."
--Quantized Revision of Murphy's Law

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