From: Graham B. <gb...@po...> - 2000-07-27 12:09:54
|
On Thu, Jul 27, 2000 at 12:55:32PM +0100, John Berthels wrote: > > Huh? alongside the .pm file. > > Sorry - I meant a 'transparent' cache of recently used ASN.1 definitions. > > Given a writable scratch area the Convert::ASN1 could in principle check > to see if a compiled version exists whenever a request to load a set of > ASN.1 definitions comes in. That way the modules/apps which use it would > not need to explicitly save a compiled version at install time. Almost > certainly not worth the effort, though. I think it would be better just for Convert::ASN1 to provide a way to dump and restore itself to disk. > However, such a 'standard scratch area' for modules might be an > interesting idea to feed into future perl6 lib discussions (the CPAN > module would benefit, for one). I don't think its a good time to bring it > up on perl6-bootstrap though :-) I have been down that road before. And it is laid with security mine fields. I once wrote Include.pm to do what h2xs does on the fly, but it needed a scratch directory. Graham. |