Hi Team,
is there a ready solution to convert an linear array of hashrefs
like this
[ {level = 0, value = string1},
{level = 1, value = string2},
{level = 2, value = string3},
{level = 2, value = string4}
]
into the nested data structure
[ {value = string1,
kids = [
{value =
On Tue, 21 Jul 2015 13:35:37 -0700
Jim Gibson j...@gibson.org wrote:
The data structure you have shown is not very efficient in tems of
data storage. Is this the actual data structure, or is it part of
something more complicated. For exampe, a more efficient use of space
would be this, which
On Jul 21, 2015, at 12:40 PM, Simon Reinhardt si...@keinstein.org wrote:
Hi Team,
is there a ready solution to convert an linear array of hashrefs
like this
[ {level = 0, value = string1},
{level = 1, value = string2},
{level = 2, value = string3},
{level = 2, value = string4}
]
Le 2015-07-20 16:49, Charles DeRykus a écrit :
On Mon, Jul 20, 2015 at 6:19 AM, Vincent Lequertier s...@riseup.net
wrote:
Thank you for the help, Charles! Unfortunately, I'm not able to figure
out
how to access the element of %ordered, despite some diggings in the
perldoc