Thank you to all that responded. The variable $^O was exactly what I 
was looking for.

Thanks again,
Greg



Hi All!

I have a script (perl v5.8.5) that needs to run on both AIX  and
linux.  Does anyone have a code snippit that would allow the script
to determine which OS it is currently running under?  Any help would
be greatly appreciated!

Thank you!
Greg


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


=================================
Gregory J Schraiber
Information Services & Resources
608-363-2456        [EMAIL PROTECTED]
=================================


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to