good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: How might I handle a special tree?by vitoco (Hermit) |
on Dec 07, 2014 at 23:34 UTC ( [id://1109508]=note: print w/replies, xml ) | Need Help?? |
Thanks for ref. I missed that ;-) Your latest structure example looks nice, but I think it would complicate the search and replace algorithms, more than what BrowserUk said. I think I'll stay with my AoA proposal, with the first element as the group name (adding a null or "root" element to the original list).
In Section
Seekers of Perl Wisdom
|
|