Troubles with simple parsingby uksza (Canon)
|on Dec 19, 2004 at 02:11 UTC||Need Help??|
uksza has asked for the wisdom of the Perl Monks concerning the following question:
I'm newbi and sill I've got some troubles with simple things. I know that practice is a way to perfection, so I'm training all exercises I can find.
And I've found something like this:
In articles.txt files is:
How to parse this into:
I've made some terrible stupid code:
and try to do with it something like this:
I know it is totaly stupid - this is the worse code i ever wrote, but I have no idea how to do things like that.
Any compassionate monk can whisper me any hint?
Thanks a lot