Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Backward compatibility: $^O in perl 4

by Maddingue (Sexton)
on May 07, 2003 at 15:15 UTC ( [id://256237]=note: print w/replies, xml ) Need Help??


in reply to Backward compatibility: $^O in perl 4

Looking throught the Perl 4 documentation and library, I can't find anything that could help you. Using uname is indeed the simplest solution, but be careful that very few options of uname are common (or have the same meaning) upon the various Unix systems. I remember facing some troubles on HPUX and IRIX. Probably a good start is to look at how autoconf or the Configure script from Perl do their system detection.
  • Comment on Re: Backward compatibility: $^O in perl 4

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-24 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found