This is the mail archive of the
mailing list for the Cygwin project.
RE: is there a (cygwin?) method delivering the current version of windows?
- From: "Hughes, Bill" <Bill dot Hughes at cox dot co dot uk>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>, Yitzchak Scott-Thoennes <sthoenna at efn dot org>
- Date: Mon, 24 Jan 2005 16:43:35 -0000
- Subject: RE: is there a (cygwin?) method delivering the current version of windows?
Igor Pechtchanski wrote:
> On Mon, 24 Jan 2005, Yitzchak Scott-Thoennes wrote:
>> Ok; you're wrong :)
> That's hardly a correction... :-p
> But I was, indeed, wrong. The real solution was to run
> $ perl -mWin32 -wle'print for Win32::GetOSVersion'
> otherwise Win32::GetOSVersion is interpreted as a bareword.
I first tried the original version when first posted:
perl -wle'print for Win32::GetOSVersion'
which did nothing. It now works, giving :
Service Pack 4
but when I try
perl -mWin32 -wle'print for Win32::GetOSVersion'
Can't locate Win32.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin ...
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
This e-mail transmission is strictly confidential and intended solely
for the person or organisation to whom it is addressed. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the
sender as soon as possible and delete the message. Please note that we
are able to, and reserve the right to, monitor e-mail communications
passing through our network.
The views expressed in this email are not that of the company unless
specified within the message.
The inclusion of this footnote indicates that the mail message and any
attachments have been checked for the presence of known viruses.
If you have any comments regarding our policy please direct them to
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html