From: Maurice A. <ma...@re...> - 2003-08-10 19:20:18
|
Hi Aaron. Aaron Patterson wrote: > Hey everyone. Have any of you looked at a perl module called PAR? What do you think of this? We modify TF to allow URLs in the @FINC search path. That way, we could specify a PAR like so: par:file:/path/to/my/archive.par!templates/ That seems consistent with the JAR URL syntax. With this example, any includes with relative paths would be checked for under templates/ in the PAR. Alternatively, you could always specify the absolute path directly like this: $forge->include('par:file/path/to/my/archive.par!/templates/foo.tf'); Then, to allow this to be used with Apache::PAR, you'd add a ForgeINC to the web.conf file: ForgeINC ##PARFILE##/ Thoughts? Maurice |