Whenever you print out a variable and you see something like 'HASH(0x81ff9dc)', then what perl is telling you is that your variable holds a reference to a hash (the hex number is the memory location of the hash). The best thing to do at this stage, if you don't know what is in the hash, is to use Data::Dumper to dump the contents of the hash into a human readable format.
use Data::Dumper; print Data::Dumper::Dumper($results->msgs());
I haven't used the msgs method of D::FV, so I don't know what the format of the HASHes will be. But you will get a good idea after Dumping out its structure.
If you have more questions about accessing the data after you have viewed this, come back and ask again. But this should at least get you further on the way to solving the problem yourself.
Good Luck
- Cees
In reply to Re: Retrieving "msgs" values from Data::FormValidator
by cees
in thread Retrieving "msgs" values from Data::FormValidator
by Hagbone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |