That sounds like a perfect use for Parse::RecDescent.
Get it (togther with copious amounts of documentation and examples) from CPAN at http://search.cpan.org/search?dist=Parse-RecDescent.
--In reply to Re: Turning a datafile into a data structure
by davorg
in thread Turning a datafile into a data structure
by pwhysall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |