Michael G Schwern wrote in reply to Craig Berry: !> b.) The attribute values printed to the ppd file are surrounded with !> double quotes per XML requirements, but there is no portable way to !> escape double quotes inside of double-quoted strings that works on all !> shells. I've replaced the occurrences of C<\"> with C<\x22> and added a !> comment that I hope mitigates the obfuscation. ! !I figured out a portable way to escape double quotes inside double-quoted !strings. There's now a perl_oneliner() method which generates a safe !one-liner for the current OS. The Unix one works. The VMS and Win32 ones !should work...
Umm - \x22 will not work on machines that do not natively use the ASCII encoding. As it happens most of the EBCDIC perls could probably make use of \x7f in that role. Peter Prymmer
