At 17:29 +0100 14/10/07, David Cantrell wrote:

Is there any simple way that people can think of to detect which major
version of OS X my perl code is running on?

ie whether it's 10.0, 10.1 etc, I don't care about the difference
between 10.3.3 and 10.3.4.

print `osascript -e 'tell app "Finder" to version'`

JD

Reply via email to