>>>>> "SM" == Sergey Matveev <[email protected]> writes:
SM> $string =~ s/ /\+/g; why are you escaping the + there? that is a replacement string, not a regex. it is double quotish but not much more than that. + is just a regular char there like almost all chars in double quoted strings. this is a common thing i have seen with newbies. the left side of s/// is a regex and you may need escape metachars. the right side is just a double quoted string. uri -- Uri Guttman ------ [email protected] -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
