this is the only thing I can find:

#!perl -w
print "$^O\n";

and all it does is return "MacOS".

I would think that any else would tantamount to a portability violation. You wouldn't want to the porting police after you, now would you??? (:


At 10:31 -0800 11/12/2002, [EMAIL PROTECTED] wrote:
I'm currently running MacPerl 5.6.1r1 on MacOS 9.2.1.

I would like to obtain the MacOS version from within
a MacPerl script using the appropriate Mac::API. Can
anyone tell me which one to use? (Didn't see it in
the MacPerl book).

Thanks,
--njg



Reply via email to