I have key value pairs as “statement:test,data” where ‘test,data’ is the value for hash. While trying to create a hash with such values, perl splits the values on the comma. Is there a way around this where strings with commas can be used as values
I have key value pairs as statement:test,data where ‘test,data’ is the value for hash.
Share
Perl won’t split a string on a comma unless you tell it to.
gives: