in reply to Re: Re: How to determining if I am on .NET versus Windows 2003
in thread How to determining if I am on .NET versus Windows 2003
Perhaps a set variable based on what the build version is?foreach $i (keys %Config) { print "$i\n"; }
Course, it'd be better if I knew for sure you could get the build version from Config or Win32, but it's a helping hand! I'm probably going to go look it up soon anyways just to know, hehe...$build_prefix = substr Win32::GetBuild, 0, 2; if ($build_prefix == '36') { # do something for .NET } elsif ($build_prefix == '37') { # do something for 2003 }
|
|---|