There is a small typo in your code as you have a quote after $delimiter in the say line
In reply to Re^2: Perl Pattern Matching & RegEx's by jaiieq in thread Perl Pattern Matching & RegEx's by jaiieq