in reply to Parsing attributes in one line using map

You can do this (borrowed from 'Perl for System Administrators'):
my %attrs = split /=|,/, $attr;

Igor 'izut' Sutton
your code, your rules.