Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Parsing bracket formatted file

by Anonymous Monk
on Sep 25, 2022 at 01:39 UTC ( [id://11147117]=note: print w/replies, xml ) Need Help??


in reply to Parsing bracket formatted file

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147117]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2025-07-11 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.