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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 8 | next ›
Discussion Overview
groupcpan-testers-discuss @
categoriesperl
postedApr 10, '16 at 12:00a
activeApr 17, '16 at 2:52a
posts8
users3
websitecpan.org

People

Translate

site design / logo © 2019 Grokbase