"Hawley, Eric" wrote:
> 
> I need to be able to determine whether or not the computer that a script is
> running on is a Windows NT or 2000 server or if it is not.  Does anyone know
> how to do this? I tried looking at Win32::GetOSVersion() but this won't
> work.  I have tried searching on CPAN but haven't found anything.

how about $^O (see perldoc perlfunc)

-- 
Alan F. Dickey - Interaction and Realization
http://www.intac.com/~afdickey
mailto:[EMAIL PROTECTED]
VOX: 908-273-3232 Cell: 908-334-0932

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to