"be consistent" | |
PerlMonks |
Re: Problem with passing hashes between modulesby hipowls (Curate) |
on Mar 05, 2008 at 10:50 UTC ( [id://672144]=note: print w/replies, xml ) | Need Help?? |
You are returning a reference to an array whose content is a single hash reference. You then attempt to dereference the array as a hash. You probably mean something like this
If you aren't getting what you expect then using Data::Dumper or YAML to print out the data structure will often help you find where the problem lies.
In Section
Seekers of Perl Wisdom
|
|