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

Not sure what you mean. perlport should be the definitive source for $^O values, and it says "darwin". What exactly is your question (since it doesn't actually seem to be asking for the $^O value)?
  • Comment on Re: What is the right value of $^O to identify Mac OS X?

Replies are listed 'Best First'.
Re: Re: What is the right value of $^O to identify Mac OS X?
by gmpassos (Priest) on Apr 30, 2004 at 17:11 UTC
    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".

      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.