[Templates] RFC: Template::Provider::PAR - allows PAR directories in the INCLUDE path

Nick Woolley nickwoolley@yahoo.co.uk
Tue, 04 Sep 2007 12:03:38 +0100


Hello,

Andy Wardley wrote:
> So if you, or anyone else has got things they'd like to change about 
> T::P, trivial or otherwise, then now is a very good time to speak up!

The main thing I that I wanted to be able to do is override the flavour 
of File::Spec being used, since zip archives use the unix path 
convention whatever OS they're being accessed from.

The current CPAN version of Template::Provider seems to otherwise 
abstract out the parts nicely, except for that bit.  I worked around 
this by converting delimiters when the path finally gets passed to 
_template_modified() or _template_contents(), but it'd be nicer to 
override a method or change an attribute in the parent class.

Thanks,

Nick

ps I've just uploaded the first release:

http://search.cpan.org/~npw/Template-Provider-PAR-0.1.89/