http://qs321.pair.com?node_id=640131


in reply to Re^2: Processing a multiple="multiple" <select>
in thread Processing a multiple="multiple" <select>

Since you brought it up, 'sed' style matching is too heavy. All you want to do is detect the situation of multiple responses.

if ($payload =~ /+/) { # process as list }