![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Parsing bracket formatted fileby Anonymous Monk |
on Sep 25, 2022 at 01:39 UTC ( [id://11147117]=note: print w/replies, xml ) | Need Help?? |
You do not explain, where your trouble is.
Anyways - recursion is fine. Would be eventually good to break the recursion into opening code (recognizing the key) and the value. Which can obviously be again key and value. This way you are able to handle line for line. And pass only references, passing the whole scalar could be resource consuming.
In Section
Seekers of Perl Wisdom
|
|