Hello,
how about
print $^O; # O like operating
bye
chris
> -----Original Message-----
> From: Story, Lenny [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 11, 2003 3:55 PM
> To: [EMAIL PROTECTED]
> Subject: How can i query System type at runtime ? ... Windows
> vs Unix ?
>
>
> Greetings,
>
> I have a script that runs differently depending on the system
> its executing
> under. How can i query the system type ?
>
> Thanks,
> Lenny
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs