in reply to Re: $^O on windows-systems and Perl interna
in thread $^O on windows-systems and Perl interna

I think it'll return "MSWin64" on 64bit Windows.

So far not:

C:\test\miniball>perl -E"say $^O" MSWin32 C:\test\miniball>perl -v This is perl, v5.10.1 built for MSWin32-x64-multi-thread

Replies are listed 'Best First'.
Re^3: $^O on windows-systems and Perl interna
by Burak (Chaplain) on Jun 20, 2010 at 01:58 UTC
    Ok. It looks like MSWin32 is hardcoded in source files. I also saw that several core modules check only MSWin32. So, even if this is a bug, fixing it does not seem to be worth the trouble :)