I figured hostname() returns the machine name. How to get the OS type? I want to get SunOS or Linux, similar to returns from "uname -s". Thanks!
Response to a.sharda: I know options in uname. What I want is to get similar results inside my perl script. I need to do something in perl based on what OS it is..