I'm trying to split a string using the split function but there isn't always a value between tokens.
Ex: ABC,123,,,,,,XYZ
I don't want to skip the multiple tokens though. These values are in specific positions in the string. However, when I do a split, and then try to step through my resulting array, I get "Use of uninitialized value" warnings. I've tried comparing the value to '' and I've tried using the defined function, but I can't for the life of me figure out how to identify what the split function is putting in to my array when there is no value between tokens.
Ex: ABC,123,,,,,,XYZ
I don't want to skip the multiple tokens though. These values are in specific positions in the string. However, when I do a split, and then try to step through my resulting array, I get "Use of uninitialized value" warnings. I've tried comparing the value to '' and I've tried using the defined function, but I can't for the life of me figure out how to identify what the split function is putting in to my array when there is no value between tokens.