in reply to Parsing a file comprising blocks and comparing the blocks
It would simplify the parsing. Otherwise (I assume you then compare the blocks pairwise), then your array of hashes approach seems to be the best choice. Maybe some of the myriad of Config::* modules on cpan could help.# A type A block block_id=1 magic=true unlikeliness=2 colour=green warty=false horns=1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing a file comprising blocks and comparing the blocks
by loris (Hermit) on Aug 15, 2006 at 12:29 UTC | |
by Fletch (Bishop) on Aug 15, 2006 at 12:57 UTC |