From: Phillip Gawlowski Date: 2010-01-16T05:38:27+09:00 Subject: Re: Foolproof way of determining host platform On 15.01.2010 21:21, Paul Mckibbin wrote: > I came up with Config::CONFIG['EXEEXT'] to determine whether it is > running on Windows as opposed to any other platform we support. Windows > return ".exe" and other platforms tested come back with "", so that > seems to work, but is there a better way? You can give a binary any extension you like on *NIX, as long as you set "chmod +x /my/binary.whatever". -- Phillip Gawlowski