in reply to Quotes

Your presentation of the problem is a bit puzzling because $dummp = "Phillip "B" Bruce"; is not a valid statement... Is this what you are after?
my $dummp = 'Phillip "B" Bruce'; print $dummp; # prints: Phillip "B" Bruce $dummp =~ s/"//g; print $dummp; # prints: Phillip B Bruce

Replies are listed 'Best First'.
Re: Re: Quotes
by pbbruce (Initiate) on Apr 21, 2001 at 05:48 UTC
    That exactly what I thought I typed but I left out the ~ in my assignment statement. Thanks.
      but I left out the ~ in my assignment statement.

      The perlman:perlop defines =~ as a binding operator, not an assignment:
      Binary ``=~'' binds a scalar expression to a pattern match.

      Rudif