in reply to Re^4: Read the lines until a string exists in the array
in thread Read the lines until a string exists in the array
For getting this result, I would approach it differently. I would define a hash, %tags, which is initially empty. Whenever you encounter a tag, say AUTHOR, with some content, say 'author1', you have have two cases:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Read the lines until a string exists in the array
by Anonymous Monk on Aug 14, 2009 at 17:29 UTC | |
by chromatic (Archbishop) on Aug 14, 2009 at 18:46 UTC | |
by Anonymous Monk on Aug 14, 2009 at 19:48 UTC | |
by rovf (Priest) on Aug 17, 2009 at 07:13 UTC |