On Tue, 10 Apr 2007, Jon Combe wrote:
The following snippet of code, when saved with a ".pl" file extension breaks the colour coding in Vim@split = split ( / |-|\/|\"/ , $surname , -1 );
This sometimes annoys me, too. To work around it, use the 'm' operator specifically, thus:
@split = split ( m/ |-|\/|\"/ , $surname , -1 ); -- .