in reply to doublequoted commands inside backticks on windows, perl 5.6
seems to work, possibly because the double quotes that get eaten (the first and last encountered) belong to the same matched set instead of different pairs. I'd do something cleaner, like$cmd="\"\"c:\\path\\cleartool\" -fmt \"%[owner]p\" vob:.\""; `$cmd`;
but I'm trying to do maintenance on some old code and get it working with the minimum changes possible. There are a lot of interpolations in the real string construction.$cmd=qq(""c:\\path\\cleartool" -fmt "%[owner]p" vob:.");
This problem showed up on Windows XP, by the way. But I wouldn't be surprised if other MS Win flavors did the same thing.
|
|---|