in reply to Re: Question of scope
in thread Question of scope

My @coords was defined as: my @coords=(); towards the top of my program.

All I'm attempting to do is push the coordinates on to a global array, but they're being lost after that routine.

I've done print statements to verfy they did get pushed in to the array, and that $x and $y actually exist ( that I'm not pushing undefined ) so I'm stymied to say the least.

Hopefully that will clarify my situation so that you may be able to shed a little light on this for me.

Thanks!

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.