John wrote: > Problem with my array > > 0Tk::Error: Can't use string ("ARRAY(0x22bdfb0)") as an ARRAY ref while > "strict
> refs" in use at C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dir635.tmp\gui.pl line > 307, < > DATA> line 164. > You have shown us the error message here. That is good. Unfortunately, you do not show us line 307 and the lines just preceding it. That's bad. It leaves us with only specualtion. This is really wierd actually. I tried screwing up an array ref by quoting, and it didn't work at all. The ref still worked as a ref. Looking at theerror message above, I can't imagine how you got to this point. An actual array reference would look like: ARRAY<0x22bdfb0> not ARRAY(0x22bdfb0) although the two are almost undistinguishable in the default font used by cmd.exe. I am at a loss. Short of something truly insane, like trying to type in the string value of an array ref, I do not understand how the strings shown in the error message would ever get into the compiler. Show us the code of the indicated lines, please. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>