Re: perl regex assistance

From: Steven Kurylo <sk_at_no.spam.please>
Date: Thu Oct 18 2007 - 14:53:16 CST

> I have to comment out the offensive line $val =~ s/+/ /g; which to me
> reads as substitute any plus signs for blank spaces in the string $val

The plus sign needs to be escaped as its a meta character.

s/\+/ /g
Received on Thu Oct 18 14:53:46 2007

This archive was generated by hypermail 2.1.8 : Thu Oct 18 2007 - 14:54:20 CST