Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: parse a file TXT similar to XML -- flip-flop operatorby Discipulus (Canon) |
on Mar 30, 2022 at 10:48 UTC ( [id://11142540]=note: print w/replies, xml ) | Need Help?? |
Hello again, you can easily modify the above code to have something like:
The above code use $current_hash as temporary container for key values pairs and need to be reset when fin is encountered. It outputs:
L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|