in reply to pushing onto array is not working as intended..
You'd do well to use strict;use warnings. Adding those pragmas I uncover the following issues in your code:
This of course was not your problem here, but are obviously bugs you hadn't found yet.
|
|---|