if (/^$/) { ...; # get the attribute(s) and value(s) }