I'm not sure if it's just in your example code, but please take the habit of not using $a and $b as variable names unless you're building a sort routine.
I learnt it 'the hard way' in this thread.
In reply to Re: Source files, packages and name spaces
by Biker
in thread Source files, packages and name spaces
by Dinosaur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |