That did the trick, Thanks.

Ken

On Friday, May 30, 2003, at 04:26 AM, Halkyard, Jim wrote:
Without testing or really investigating this I'd say you're getting the
'exit status' of the s/// operation. As you've written it the substitution
is working on $_ and you're appending the return value to $tmp each time
through.


Try this:

$tmp = "";
while (<PROPS>)
{
        s/<photoshop:([^>]+)>([^<]*)/$1: $2/;
        $tmp .= $_;
}

That should do the substitution on $_, and then append the modified $_ to
$tmp.


Jim



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to