If your requirements are flexible enough (or you can deal with translating to and/or from its syntax) maybe Data::Path might be of use?
In reply to Re: parsing a parent-child syntax to make a hash
by Fletch
in thread parsing a parent-child syntax to make a hash
by argv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |