[html-formfu] new dists - major changes!

Carl Franks fireartist at gmail.com
Mon Sep 27 09:19:29 GMT 2010


On 24 September 2010 19:37, Octavian Rasnita <orasnita at gmail.com> wrote:

> It was taken from the configuration file of the app which contains something like:
>
> my $config = {
> uploaded_files_dir => '__path_to(root,static,uploaded_files)__',
> uploaded_files_url => '/static/uploaded_files',
> };
>
> $ENV{uploaded_files_dir} = $config->{uploaded_files_dir};
>
> $config;
>
> After the module Catalyst::Plugin::ConfigLoader reads this config file, it replaces __path_to(...)__ with the generated path in the $c->config but it doesn't do it in the environment variable.
>
> Until this last version of HTML::FormFu, I don't know how and where (maybe by mistake :) this column inflator was working fine, but now that macro __path_to()__ is not expanded anymore.

Hi,

If I'm following correctly, your Cat app's config file uses a .pl/perl
extension and contains perl code.

$config->{uploaded_files_dir} is being set correctly, but the assignment to
$ENV{uploaded_files_dir} doesn't appear to be happening.

I'm afraid that's as far as I can follow what's going wrong, so I
can't really see how the form code is involved.

Have you used local 'lib' directories containing the different
versions of FormFu to verify that that's the only thing that's
changing?

Cheers,
Carl



More information about the HTML-FormFu mailing list