in reply to "shift" not working as expected
Forget about this answer, looked again, and I'm wrong! Not enough coffee yet!
This:
should be:for (1 .. $max) { sendX; }
whether or not your 'sub sendX' is correct!for (0 .. $max) { sendX; }
Regards...Ed
"Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom