[html-formfu] load_config_file in the middle of YAML

Ruben Fonseca rubenfonseca at di.uminho.pt
Wed Oct 10 12:44:37 GMT 2007


On 2007/10/10, at 12:11, Will Hawes wrote:

> Can you tell me the proper way to do this please?
>
> load_config_file is a method of HTML::FormFu. As such I would only  
> anticipate it working as a top level item in a YAML file.

Oh god I'm screwed. I looked at the Cookbook (thanks!) and it seems  
that I can't include files in the *middle* of a YAML specification...

>
> If you have a look at HTML::FormFu::Manual::Cookbook (currently  
> only in SVN), there is an example of how to do this.

Since after the load_config_file I only have the submit button I have  
two options:
* move the submit button to an external file and load_config_file it
* create it using Perl after loading my form

Anyway, thank you!
Ruben




More information about the HTML-FormFu mailing list