Thanks Cees ... I believe I'm getting closer to understanding this .... I used Data::Dumper as suggested, and the output was:
$VAR1 = { 'three' => '<span style="color:red;font-weight:bold"><span i +d="dfv_errors">* Missing</span></span>', 'two' => '<span style="color:red;font-weight:bold"><span id= +"dfv_errors">* Missing</span></span>' };
This appears to be the default outpur from D::FV. ... it seems the problem I'm having is not knowing how to call the elements from the hash above.

It appears that the keys of the hash are the field names of the required fields that were submitted as blanks from the form.

And it also appears that I should be able to call the items from the above hash and associate them to the $results->(missing) array .... that is if I knew how to call the hash value ...

It looks to these rookie eyes that Data::Dumper shows the hash name as "$VAR1" ... and I'm guessing that in order for me to call the hash values, I need to know the hash name ???

I've been trying all kinds of combinations:

print $results->msgs(); print $results->msgs(you name it); print $results->msgs(I've tried it);
but I still keep getting a damn hash reference, and no data. Frustrating, to say the least ;)

In reply to Re: Retrieving "msgs" values from Data::FormValidator by Hagbone
in thread Retrieving "msgs" values from Data::FormValidator by Hagbone

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.