You don't need to escape the quote, nor gobble up the entire string. Simply: m/^"/
In reply to Re^2: pattern matching in array by hbm in thread pattern matching in array by torres09