Nevermind: I misread the question, which was asking for a tree -- moderator, please delete this answer.push @arr,1 if @arr % 2; $h={@arr};
In reply to Re: Array to hash refs
by deMize
in thread Array to hash refs
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |