Tuesday, January 15, 2002, 6:16:49 AM, Chris Anderson wrote:
> I need to find out which OS I am on -
> It would be nice to know:
> Ref Hiat
> Mandrake
> Slackware
> W2K
> W98
> WME
> WXP
> Solaris
> AIX, etc

> but

> Unix
> Linux
> W32


> is fine also....

> How can I do this???

$^O should have the right stuff in there. try

  print $^O;

or perhaps getting it from Config would work:

  use Config;
  print $Config{osname};
  print $Config{osvers};



-- 
Best Regards,
Daniel                   [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to