programming-examples/perl/Win32/OS version.pl
2019-11-15 12:59:38 +01:00

6 lines
114 B
Perl

#!/usr/bin/perl -w
use Win32;
@os = Win32::GetOSVersion();
print "Version $os[1]\.$os[2] Build $os[3]\n";