in reply to Re^7: Preparing data for Template
in thread Preparing data for Template
You are passing a hash reference ... but you are expecting a "hash" (well, list of pairs)
Yes - of course you are totally correct...
My inability to properly conceptualise references strikes again :(
I seem incapable of truly internalising references, especially when they are being passed between distinct lumps of code. Despite reading, understanding and implementing, when I come to create new code that passes references I always seem to run into trouble. I don't think it's a lack of knowledge, it is a lack of understanding that repeatedly causes problems similar to this one.
Any thoughts on how to get over this mental block would be appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Preparing data for Template
by haukex (Archbishop) on Dec 31, 2020 at 13:27 UTC | |
|
Re^9: Preparing data for Template (what are references)
by LanX (Saint) on Dec 31, 2020 at 14:34 UTC | |
|
Re^9: Preparing data for Template
by Corion (Patriarch) on Dec 31, 2020 at 13:25 UTC |