John Drabinowicz wrote:
Hi Gang,

so far I have been programming for Win32 (Cygwin) with Perl...

I need to rsh to other machines such as Linux, Solaris, and HP/UX as well as Win32.

Because Win32 is in the mix, I need to find out what type of OS I am connecting to in order to use the corrrect commands i.e. Registry commands or configuration files.

I need to read the correct information from either and translate things
print $^O

This does it for me.. :)

correctly for OS independent operation.

Can anyone give me the correct incantations to find the OS type? Is there any such thing?

Thanks,

John D.



--
Chris Anderson
CTO
C&P Enterprises
http://www.candp-ent.com

0101001101010011011100100110100101110011







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

Reply via email to