http://www.perlmonks.org?node_id=985693


in reply to saif format parsing

The common answer for such questions is:
Show us what have you tried

Replies are listed 'Best First'.
Re^2: saif format parsing
by nick_2012 (Initiate) on Aug 07, 2012 at 13:30 UTC
    I have been able to figure out a solution using a stack to this problem. I push onto the stack whenever "instance(" and pop from it whenever ")". This way I can keep a tab on level of instance name in an array based on push operations. thanks offering to help.