Thank you all!
By "better", I meant maybe using less arrays or like that.
It seems asking Perl questions here is more fruitful than on StackOverflow. :-)
In reply to Re: move all 0s in an array to the beginning keeping other elements order same
by anilmwr
in thread move all 0s in an array to the beginning keeping other elements order same
by anilmwr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |