0.20
- Added tests. (Daniel Westermann-Clark)
- Fixed TTSite helper to use correct app name.
+ - Added support for dynamic includes.
0.19 - Tue Nov 15 09:52:00 2005
- unbreak config.
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Catalyst-View-TT
-version: 0.19
+version: 0.20
version_from: lib/Catalyst/View/TT.pm
installdirs: site
requires:
Catalyst: 5.5
+ Path::Class: 0
Template: 0
Template::Timer: 0
=cut
-sub coerce_paths {
+sub _coerce_paths {
my ( $paths, $dlim ) = shift;
return () if ( ! $paths );
return @{$paths} if ( ref $paths eq 'ARRAY');
sub new {
my ( $class, $c, $arguments ) = @_;
my $delim = $class->config->{DELIMITER} || $arguments->{DELIMITER};
- my @include_path = coerce_paths($arguments->{INCLUDE_PATH}, $delim);
+ my @include_path = _coerce_paths($arguments->{INCLUDE_PATH}, $delim);
if(!@include_path){
- @include_path = coerce_paths($class->config->{INCLUDE_PATH}, $delim);
+ @include_path = _coerce_paths($class->config->{INCLUDE_PATH}, $delim);
}
if(!@include_path){
my $root = $c->config->{root};