positive that it is popilated because it prints
and like I said before if I print the spot I am looking for and then try to set it to a $tile it is then undef.
on a test for what it is set to
If using 'my' on some of the variables fixed it, you probably had a locality problem. Were $horz and $vert populated somewhere else in the script before you tried to use them?
Without seeing the whole script, my guess would be that something somewhere else was changing the values of $horz and $vert before you used them but after you thought you'd set them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.