in reply to How to Map Regex to Hash
I think the regex /(\d+),"(.*?)"/g will work for you. This assumes no embedded quotes, etc. The problem with yours was the parens on the outside of the regex. And that /m modifier was useless.
In Section
Seekers of Perl Wisdom