What do the strict and warnings commands do? And what is the purpose of my before the objects? What does it do?
Also, what is the purpose of my $string = shift;?
I don't understand the if (s/\Q$string\E/($string)/g) { conditional either.
Thank you for all of your help