Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Escaping single quote in $string

by tangent (Priest)
on Feb 17, 2013 at 21:15 UTC ( #1019216=note: print w/replies, xml ) Need Help??

in reply to Escaping single quote in $string

To remove the quote the third one you have there should work, as long as you don't do either of the first two beforehand:
my $string = "How It's Made"; $string =~ s/\'//g; print "$string\n"; # prints "How Its Made"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019216]
[pryrt]: also mismatches; but matches their sha1
[pryrt]: The mismatched ones have a Jan 23 2017 Last-Modified header -- I wonder if they rezipped them and forgot to update the sha1
[stevieb]: RT ticket for the csum mismatch of various versions of Strawberry Perl

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2017-03-29 21:10 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (353 votes). Check out past polls.