On Oct 19, birgit kellner said:

>>   ($title = $header) =~ s/<br><br>/: /;
>
>I had thought of that, but believed that it will also perform the 
>substitution on $header. I just tested it, and that doesn't seem to be the 
>case. If that's true, there's the solution to my problem.

Doing ($x = $y) =~ s/foo/bar/ does the following:

  $x = $y;
  $x =~ s/foo/bar/;

so $y is left untouched.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **


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

Reply via email to