You'll probably hear this a couple of times .. but telling us that a solution "didn't work" isn't a useful description of what did work.
Re-declaring new $x and $y variables makes local copies of those variables. Removing the my removes that issue, and should have solved the issue that you were having.
Show us the new code that "doesn't work" and we'll help you again -- but please, in future :) tell us more than just something "doesn't work".
In reply to Re^5: Enlarging scalars
by talexb
in thread Enlarging scalars
by WisDomSeeKer34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |