![]() |
|
Do you know where your variables are? | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
I believe what you want is:
The "Reference found where even-sized list expected" stems from you trying to assign a scalar reference to a hash, but a hash expects a list with an even number of elements. You can reproduce that error from the command line: The following eliminates the error:
Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats. Update: Fixed error in original reply. I had %{ $diary_data[0] } instead of @{ $diary_data[0] }. Update 2: Just saw AgentM's update. He was actually right. This code: Will force a "Can't coerce array into hash" error. In reply to (Ovid - need to dereference) Re: Getting information from an array of hashes
by Ovid
|
|