http://www.perlmonks.org?node_id=1209033


in reply to Re^2: How to add quotes to comma separated values in a String (updated)
in thread How to add quotes to comma separated values in a String

Come on, why not? This is being a bit dogmatic, isn't it?

Not really. When you know the broken or wonky data you'll get 100% of the time, sure, why not. But data in the wild is rarely predictable and the best advice to that end is suggesting the most robust solutions. The same reason we don't recommend regular expressions for parsing HTML. Most of the time it is actually fine but most of the time is a lousy way to live. :P