I guess that's because the VERSION information never gets set, or maybe gets set only once. But only you can tell that because you are the only one who has the input file. Consider looking at your input file, printing out each line of the input file, and then also printing out what the script does (ignore, capture GI info, capture CDS info, capture VERSION info), and also outputting the current state as it is kept in %info (using Data::Dumper for example). Then you will understand where your program does the wrong thing.
In reply to Re^13: Read, match string and print
by Corion
in thread Read, match string and print
by sophix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |