Created attachment 535130 [details] Stop warning in HTML::FormFu::Role::NestedHashUtils Description of problem: Submitting a form containing a Label element generates the follow warning: "Use of uninitialized value $root in exists at /usr/share/perl5/vendor_perl/HTML/FormFu/Role/NestedHashUtils.pm line 121." Version-Release number of selected component (if applicable): 0.09003 How reproducible: Always Steps to Reproduce: 1. Create a form containing a Label and Submit elements Sample YAML: elements: - type: Label label: foo - type: Submit name: submit 2. Hit Submit Actual results: "Use of uninitialized value $root in exists at /usr/share/perl5/vendor_perl/HTML/FormFu/Role/NestedHashUtils.pm line 121." printed to console Expected results: No warnings to the console Additional info: Developing with Catalyst. Attaching a simple patch to stop the noise.
You can also stop the noise by simply giving your label a name: elements: - type: Label name: foo label: foo - type: Submit name: submit And since you're doing perl development, it's usually better to report problems with perl modules to rt.cpan.org (unless it's already fixed upstream and you would like us to update the version packaged in fedora, or upstream is non-responsive).