Can you please briefly explain paths2TreeGF to us, especially the tricky bit? It looks slick. I just can't get my head around it.
$scan = $scan->{shift @parts} ||= {} while @parts;
Thanks.
In reply to Re^2: Parse a list of path strings into a nested hash
by Jim
in thread Parse a list of path strings into a nested hash
by jdporter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |