Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Anomynous Monk (Scribe)
on Apr 29, 2004 at 17:19 UTC ( [id://349199]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://349199]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-25 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found