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


in reply to Re^4: split on commas
in thread split on commas

the problem with this approach is that it erroneously accepts input such as
$_ = "<*2)FOO<2,1>,<*3>(SigB<8:0:2>,BAR),<*2>Siga<2:0>,Sigb<8,7,6,5,0> +";
(where the first < matches a )

you really need a parser to do this kind of thing "right".