stupid perl quantifier question (4)

1 Name: Anonymous : 2007-03-05 00:28 ID:nandG79D

Is there a way to s/ or split() out quantifiers like +? I'm trying to replace all the + in a string with " ", but keep getting errors like "quantifier follows nothing in regex."

2 Name: Anonymous : 2007-03-05 00:49 ID:nandG79D

Nevermind. Wow, I was stupid.

$string=~tr/+/ /

3 Name: #!/usr/bin/anonymous : 2007-03-05 09:39 ID:Heaven

or, um, escape them with a backslash.

4 Name: #!/usr/bin/anonymous : 2007-03-06 00:51 ID:VGvJaoEd

>>3
DITTO

This thread has been closed. You cannot post in this thread any longer.