Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Get version of installed OS

by borodache (Novice)
on Feb 27, 2018 at 11:29 UTC ( [id://1210030]=note: print w/replies, xml ) Need Help??


in reply to Re: Get version of installed OS
in thread Get version of installed OS

I found a solution, I will use:
my ($name, $major, $minor, $build, $id) = Win32::GetOSVersion();
and check the values are greater than or equal to id - 2, $major - 6, $minor - 1. I guess higher version of Windows got the 262 value

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210030]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found