Michael Schwern wrote in reply to one of my replies:

!On Mon, Nov 18, 2002 at 09:44:05AM -0500, [EMAIL PROTECTED] wrote:
!> !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.
!
!Look at MM_VMS->perl_oneliner() in the makemaker.org snapshot, let me know
!if it'll work. If not, patch.  It doesn't use any special ASCII escape
!codes just s{"}{""}g;

Thanks.  I see now that there appears to be no hex code:

% cd ExtUtils-MakeMaker-snap/ExtUtils/
% grep 22 *.*

FWIW The Unix on mainframe environment ($^O eq 'os390'),
the BS2000/POSIX environment should both use MM_Unix.pm
for generating Makefiles (they should not care about MM_VMS.pm).
I am fairly certain that ($^0 eq os400) will also be
much more unixy since the build is now supposed to take place
on AIX for that platform (although you'd have to ask Jarkko
Hietaniemi for further details).

Peter Prymmer


Reply via email to