On Tue, Apr 12, 2016 at 02:10:15PM -0700, L Walsh wrote: > 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?)
Be very careful with $^O! Checking for 'Win' will miss 'cygwin', and checking case-insensitively will hit 'darwin' - that is, OS X. This is why I wrote Devel::CheckOS. -- David Cantrell | London Perl Mongers Deputy Chief Heretic I hate baby seals. They get asked to all the best clubs.