DynaLoader_pm.PL patch (backslashes in strings)
Paul Moore [Wed, 10 Nov 1999 22:52:02 +0000 (22:52 +0000)]
To: <perl5-porters@perl.org>
Message-ID: <LPBBIIMJKJMPNOGHGLLCMEBFCAAA.gustav@morpheus.demon.co.uk>

p4raw-id: //depot/cfgperl@4568

ext/DynaLoader/DynaLoader_pm.PL

index e20ab42..a02f5bf 100644 (file)
@@ -3,7 +3,7 @@ use Config;
 
 sub to_string {
     my ($value) = @_;
-    $value =~ s/\\/\\\\'/g;
+    $value =~ s/\\/\\\\/g;
     $value =~ s/'/\\'/g;
     return "'$value'";
 }