|Syntactic Confectionery Delight|
better way to convert a string into an array and an hashby Miguel (Friar)
|on Oct 05, 2004 at 14:44 UTC||Need Help??|
Miguel has asked for the wisdom of the Perl Monks concerning the following question:
I've been looking for a way to convert some parts of a string into an array and all the string into an hash table.
My best effort is shown here:
At the end I'll have:
Now, my question is: is there a better and more efficient way to have this done? perhaps with some complex regular expressions?