in reply to Re: What is the right value of $^O to identify Mac OS X?
in thread What is the right value of $^O to identify Mac OS X?

As you can see in the table in perlport, 'darwin' is not an exclusive value for Mac OS X, so, I need to identify if I'm realy on Mac OS X.

Graciliano M. P.
"Creativity is the expression of the liberty".

  • Comment on Re: Re: What is the right value of $^O to identify Mac OS X?

Replies are listed 'Best First'.
Re: Re: Re: What is the right value of $^O to identify Mac OS X?
by Anomynous Monk (Scribe) on May 01, 2004 at 01:30 UTC
    I see an entry for "darwin" also. Does darwin in fact build anywhere other than Mac OS X? And if so, does perl compile there?
      I see an entry for "darwin" also. Does darwin in fact build anywhere other than Mac OS X? And if so, does perl compile there?

      Yes and yes.

      See opendarwin.org for more info.