I can't get my perl script to work. How do I replace (P) with (paperback)? Right now I have:
$bookTitle =~ s/(P)/paperback/;
but it won't work. The titles of books appear in this format:
"History of Prague (P)"
and I want it to say:
"History of Prague (paperback)"
I can't figure out how to use the "escape slashes \" so that Perl will treat (P) as something to replace. Right now, the way I have it, it changes all the "p's" so that it errantly displays:
"History of paperbackrague (paperback)"
ugh
Thanks!