Reading my apache logs, I'm getting lots of errors reading:

[FormBuilder] Warning: Possible field access via $form->weaken() - see + 'fieldsubs' option at /usr/local/share/perl/5.8.8/My/Latest/Project/ +WWW.pm line 923,
This is a module which has been working on the development server and is now being installed for the first time on a new server. I've never seen that error on the previous installation. And grep'ing through the CGI::FormBuilder code did not reveal anything. Following line numbers says every one of these errors was thrown by an invocation to the $form-> field() method. Here is a typical one.

$form->field( name => $fieldset . '_spoke_w_this_person', label => 'Spoke with this Person', fieldset => $fieldset, type => "checkbox", options => [qw(Yes)], comment => '<br>You must mark this checkbox, <br>to record thi +s data in the database', );
So my question is: What does this "$form->weaken()" error mean and how do I clean it out of my logs?

-- Hugh

Update:

Thank you to the Anonymous Monk who pointed me to the idea of adding 'fieldsubs => 0 | 1' to my constructor. That seems to have done the trick. And thank you Grandfather for your generosity as well. My logs are nearly clean again, with the help of fine Monks such as yourself.

if( $lal && $lol ) { $life++; }

In reply to puzzled by CGI::FormBuilder (?) errors? by hesco

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.