I am getting an error like : "Can't use string (" SOMETHING ") as an array ref while " strict refs" in use" ...I am still getting stranger errors...
Strange as it may seem, it actually takes less effort to copy/paste the actual error message (including line number) into your post, rather than paraphrasing or summarizing it.
Also, once you've provided the full and exact error message, it's not so very hard to paste in the snippet of code that contains the line number mentioned in the error message (and enough context to indicate how variables in that line have been assigned values). Of course, it also helps to add a comment, pinpointing the line that caused the error.
Try those two things -- show the exact error message, and show the corresponding line of code with background code that shows how variables in that line were set -- and we'll probably be able to give better advice.
In reply to Re: Can't Use String as an Array Ref Help!
by graff
in thread Can't Use String as an Array Ref Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |