I have a question reqarding Randal's nifty "safe undumping" article found here: http://www.stonehenge.com/merlyn/LinuxMag/col29.html
On line 17, code is inserted to clear out the contents of %TABLE, parse a string, then return a hash reference to the %TABLE.
Is it possible to instead of clear out the contents of %TABLE, append new elements to %TABLE?file: { %TABLE = (); } assignment(s?) /\z/ { \%TABLE }
I have some input data very similar to perl with comments in between. I want to be able to send a single assignment to the parser one at time to build the final %TABLE incrementally.
Thanks and Regards,
-P
In reply to Safe undumping by pip9ball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |