> > Next I try to loop through the results and extract parts of > each string > like so: > > $tmp = ""; > while (<PROPS>) > { > $tmp .= s/<photoshop:([^>]+)>([^<]*)/$1: $2/; > } > > Doing a "print" on $tmp, yeilds > > 1111111111111 > > None of the lines in "PROPS" contain a single digit character > so why am > I getting a string of 1's?
you assigning the return value of the s/// statement to temp. the 1's are telling you the statement is true. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]