on Thu, 09 May 2002 17:33:21 GMT, Scott Batchelor wrote: > $pair=~m/([^=]+)=(.*)/) > > This basically says start at the beginning of the string and match > any "=" all the way to the end of the string...right?
Wrong. This says: Match anything (of at least one character) up to but not including '=' and put it in the special variable $1; then match the '='; then match what's left (possibly nothing) and put it in the special variable $2. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]