On Tue, Apr 12, 2016 at 02:10:15PM -0700, L Walsh wrote: > Tony Cook wrote: > > Perl special variables (and OS-specific diagnostics, for MSWin32): > --- > Well, Instead of limiting myself to "MSWin32" in $^O, I think > I'll check for 'Win' somewhere in the $^O var. Seems like it might > be more forgiving (I hope?)
If it's MS Windows, it will always be "MSWin32", even for x64 builds. If you match case-sensitively with "Win" it will match MSWin32 but not cygwin, but you might want cygwin (or might not). If you match case-insensitively with "Win" it will also match "darwin", which you probably don't want. > Oh -- is p5p _really_ supporting cygwin-32 on XP -- even though > cygwin-32 is no longer available for XP? > > At some point it becomes more work to support a 16+ year old OS > than the worth that comes out of it. We're already supporting older operating systems. Our only regular perl smoker is running Windows 2000. As to supporting XP in particular - from my point of view, supporting Win32 is the hard part, XP is pretty minor on top of that. Tony