[html-formfu] Template::Alloy rendering

Tobias Kremer list at funkreich.de
Fri Jul 6 10:07:51 GMT 2007


> line 777 in the latest Template/Alloy.pm is trying to do...
>     @{ $self->include_paths }
>
> The most likely reason that I can see, for why include_paths() would
> not return an array-ref, is if you've accidentally set 'INCLUDE_PATHS'
> instead of 'INCLUDE_PATH' in your code.
> Template::Alloy uses 'INCLUDE_PATHS' as it's own cache, and must be an
> array-ref.

Hmm ... I included some debugging output and at runtime
$self->include_paths is a Path::Class::Dir object with
the following data:

$VAR1 = bless( {
                 'file_spec_class' => undef,
                 'volume' => '',
                 'dirs' => [
                             '',
                             'home',
                             'tobias',
                             'FormFuTest',
                             'root',
                             'formfu'
                           ]
               }, 'Path::Class::Dir' );

Any ideas?

--Tobias



More information about the HTML-FormFu mailing list