"Japerlh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Help: Is there any way to get the name of the Window Server that the
Perl script is currently running on?
Thanks.
you can try:
use Config;
print "OS: $Config{'osname'} $Config{'osver'}\n";
returns:
MSWin32 5.0 for me, though that should actually be 5.1. 2000 is 5.0. there's
a module out there, Detect::OS, which i've not tried, but looks to be able
to do more than the standard config can tell you.
HTH
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>