in reply to Re: Splitting on double quotes
in thread Splitting on double quotes
The hash assignment is clever, and it works in this case, but if you run under -w (and I hope you do!) and the line you are processing happens not to end with a " then there will be an odd number of elements in the elements array (the last element of the array will be the text after the last attribute), and you will get a warning Odd number of elements in hash assignment at....
--
mirod
The Error Message is GOD - MJD
|
|---|