in reply to Weird Error:Can't coerce array into hash
Can you cut the script down to isolate the problem? Wading through the thickets of print statements in your code make it hard to identify where you might be using hashes. You don't say which line the error appears on.
I had a much simpler problem that produced the same error, and I posted a SoPW on the question a while back. You might want to take a look at Coercing an array into a hash and see if it rings a bell.
And pretty please, settle on a better way to format your code, learn how to use heredocs, or a templating tool such as Template Toolkit. Your code will be much more readable, your life will improve and girls will stop and... well, maybe not...
update: linked to TT homepage.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Weird Error:Can't coerce array into hash
by Anonymous Monk on Jan 22, 2003 at 11:29 UTC |